﻿.customer-product-page {
    padding: 28px 16px 72px;
}

.customer-product-container {
    max-width: 1240px;
    margin: 0 auto;
}

.customer-product-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

    .customer-product-page-head h1 {
        margin: 0 0 8px;
        font-size: clamp(32px, 4vw, 46px);
        line-height: 1.15;
        color: #17212f;
    }

.customer-product-notice-bar {
    margin-bottom: 22px;
    padding: 16px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e4ebf4;
    color: #66758a;
    box-shadow: 0 14px 32px rgba(18, 58, 141, 0.06);
}

.customer-product-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 64px rgba(18, 58, 141, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 26px;
    margin-bottom: 22px;
}

    .customer-product-card::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        top: -100px;
        right: -100px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(31, 111, 255, 0.14), rgba(31, 111, 255, 0));
        pointer-events: none;
    }

.customer-product-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.customer-product-head-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.customer-product-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #1f6fff, #52a3ff);
    box-shadow: 0 16px 28px rgba(31, 111, 255, 0.22);
    flex: 0 0 60px;
}

.customer-product-head h2 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    color: #17212f;
}

.customer-product-head p {
    margin: 0;
    color: #66758a;
    line-height: 1.7;
}

.customer-product-status-chip {
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
    align-self: flex-start;
}

    .customer-product-status-chip.status-available {
        background: rgba(17, 163, 106, 0.10);
        color: #0c7d50;
    }

    .customer-product-status-chip.status-review {
        background: rgba(255, 177, 0, 0.12);
        color: #946400;
    }

.customer-product-info-alert {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff6db;
    border: 1px solid #f3df9a;
    color: #775600;
    line-height: 1.8;
}

.customer-product-summary-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.customer-product-summary-box {
    border-radius: 20px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e4ebf4;
}

    .customer-product-summary-box small {
        display: block;
        color: #66758a;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .customer-product-summary-box strong {
        display: block;
        font-size: 20px;
        color: #123a8d;
        margin-bottom: 4px;
        line-height: 1.4;
    }

    .customer-product-summary-box span {
        color: #66758a;
        font-size: 14px;
    }

.customer-product-table-wrap {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid #e5edf6;
    background: #fff;
}

.customer-product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

    .customer-product-table thead th {
        background: linear-gradient(180deg, #1f2732, #18202b);
        color: #fff;
        text-align: left;
        padding: 18px 16px;
        font-size: 15px;
        white-space: nowrap;
    }

    .customer-product-table tbody td {
        padding: 16px;
        border-bottom: 1px solid #e7edf6;
        vertical-align: middle;
        background: rgba(255, 255, 255, 0.94);
    }

    .customer-product-table tbody tr:hover td {
        background: #f8fbff;
    }

.customer-product-license-title {
    font-weight: 800;
    color: #243246;
}

.customer-product-desc-title {
    display: block;
    font-weight: 800;
    margin-bottom: 4px;
    color: #243246;
}

.customer-product-desc-sub {
    display: block;
    color: #66758a;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 2px;
}

.customer-product-price-box {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

    .customer-product-price-box small {
        display: block;
        font-size: 12px;
        color: #8a97ab;
        margin-bottom: 4px;
        line-height: 1.4;
    }

    .customer-product-price-box strong {
        display: block;
        font-size: 16px;
        color: #123a8d;
        font-weight: 800;
        line-height: 1.6;
    }

    .customer-product-price-box span {
        display: block;
        font-size: 14px;
        color: #123a8d;
        line-height: 1.6;
    }

.customer-product-price-month ,
.customer-product-price-year {
        display: block;
        font-size: 16px;
        color: #2f5db7;
        font-weight: 800;
    }



.customer-product-price-main {
    font-weight: 800;
    color: #123a8d;
    font-size: 16px;
    line-height: 1.6;
    word-break: break-word;
}

.customer-product-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    margin-top: 6px;
}

    .customer-product-tag.tag-trial {
        background: rgba(31, 111, 255, 0.12);
        color: #123a8d;
    }

    .customer-product-tag.tag-paid {
        background: rgba(17, 163, 106, 0.12);
        color: #0c7d50;
    }

    .customer-product-tag.tag-review {
        background: rgba(255, 177, 0, 0.14);
        color: #946400;
    }

.customer-product-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.customer-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 22px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.customer-product-btn-outline {
    background: #fff;
    color: #123a8d;
    border: 1px solid #cfe0ff;
    box-shadow: 0 10px 22px rgba(18, 58, 141, 0.06);
}

.customer-product-btn-primary {
    background: linear-gradient(135deg, #1f6fff, #52a3ff);
    color: #fff;
    box-shadow: 0 14px 28px rgba(31, 111, 255, 0.22);
}

.customer-product-empty {
    color: #66758a;
    font-weight: 700;
    text-align: center;
    padding: 40px 16px;
}

@media (max-width: 900px) {
    .customer-product-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .customer-product-card {
        padding: 18px;
    }

    .customer-product-head-left {
        align-items: center;
    }
}
