.member-afiliasi-card {
    display: flex;
    background: #dafff8;
    padding: 20px;
    gap: 10px;
    margin: 50px auto;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    border-radius: 10px;
}

.member-dashboard {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 50px;
    height: 400px;
}
.member-area .header {
    background: unset;
}
.member-primary-nav{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    margin-bottom:32px;
}

.member-menu{
    display:flex;
    align-items:center;
    gap:8px;

    margin:0;
    padding:0;

    list-style:none;
}

.member-menu li{
    margin:0;
}

.member-menu a{
    display:flex;
    align-items:center;
    gap:8px;

    padding:16px 18px;

    color:#475569;
    text-decoration:none;
    font-weight:500;

    border-bottom:3px solid transparent;

    transition:.25s;
}
.member-menu li.active a{
    color:#2563eb;
    border-color:#2563eb;
}

.member-menu-logout{
    margin-left:auto;
}
/* ==========================
   MEMBER ACCOUNT
========================== */

.member-account{
    position:relative;
}
.member-account-toggle{
    display:flex;
    align-items:center;
    gap:12px;
    padding:4px 8px;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:999px;

    cursor:pointer;

    color:#0f172a;
    font:inherit;
    font-weight:500;

    transition:all .25s ease;
}
.member-account-info{
    display:flex;
    align-items:center;
    gap:10px;
}

.member-account-name {
    display: flex;
    white-space: nowrap;
    background: #e0f5f7;
    justify-content: center;
    font-weight: 700;
    border-radius: 7px;
    padding: 4px 0;
    margin-bottom:6px;
}

.apg-member-arrow{
    flex-shrink:0;
    transition:transform .25s ease;
}

.member-account.open .apg-member-arrow{
    transform:rotate(180deg);
}

/* TABEL LISENSI */
.member-wrapper {
    position: relative;
    top: 30px;
}
.member-dropdown{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    min-width:220px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:8px;
    box-shadow:
        0 12px 30px rgba(15,23,42,.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
    z-index:999;
}
.member-card h2 {
    margin-top: 30px;
}
.member-account.open .member-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.member-dropdown a{
    display:flex;
    align-items:center;
    padding:6px 14px;
    color:#334155;
    text-decoration:none;
    border-radius:10px;
    transition:.2s;
}
.member-section-header p {
    margin-bottom: 15px;
}
.member-license-card{
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:20px;
}
.member-license-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:22px 28px;
    background:linear-gradient(135deg, #20b1a2, #3b82f6);
}
.member-license-title h3{
    margin:0;
    color:#fff;
    font-size:20px;
    font-weight:600;
}
.license-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}
.license-status.active{
    background:rgba(255,255,255,.18);
    color:#fff;
    backdrop-filter:blur(12px);
}
.member-table-hint{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    padding:14px 24px;
    background:#f8fbff;
    border-bottom:1px solid #edf2f7;
    font-size:13px;
    color:#64748b;
}
.member-table-hint::before{
    content:"↔";
    font-size:16px;
}
.member-table-wrap{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}
.member-table-wrap::-webkit-scrollbar{
    height:8px;
}
.member-table-wrap::-webkit-scrollbar-thumb{
    background:#cfd8e3;
    border-radius:999px;
}
.member-table-wrap::-webkit-scrollbar-track{
    background:#f5f7fa;
}
.member-table{
    width:100%;
    min-width:920px;
    border-collapse:separate;
    border-spacing:0;
}
.member-table thead th{
    padding:10px;
    background:#f8fbfd;
    color:#64748b;
    font-size:16px;
    font-weight:600;
    text-align:left;
    white-space:nowrap;
    border-bottom:1px solid #e8edf3;
}
.member-table tbody td{
    padding:10px;
    border-bottom:1px solid #edf2f7;
    vertical-align:top;
    color:#374151;
}
.member-table tbody tr{
    transition:.25s;
    
}
.member-table tbody tr:last-child td{
    border-bottom:none;
}
.member-table th:nth-child(1),
.member-table td:nth-child(1){
    width:220px;
}
.member-table th:nth-child(2),
.member-table td:nth-child(2){
    width:320px;
}
.member-table th:nth-child(3),
.member-table td:nth-child(3){
    width:150px;
}
.member-table th:nth-child(4),
.member-table td:nth-child(4){
    width:150px;
}
.member-table th:nth-child(5),
.member-table td:nth-child(5){
    width:auto;
}
.member-table code{
    display:inline-block;
    padding:10px 14px;
    border-radius:8px;
    background:#f5f7fa;
    border:1px solid #dbe4ec;
    color:#334155;
    font-size:13px;
    font-family:Consolas,Monaco,monospace;
    white-space:nowrap;
}
.badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}
.badge-success{
    color:#148443;
    background:#e8f9ef;
}
.domain-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.apg-download-theme, .domain-list span{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    font-size:13px;
    transition:.25s;
    white-space: nowrap;
}
.domain-list span{
    background:#eef7ff;
    border:1px solid #d7e9fb;
    color:#1d7ed6;
}
.apg-download-theme {
    background: #03675c;
    color: #fff;
    font-weight: 700;
}
.date{
    color:#64748b;
}
.apg-lic-order {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.license-copy{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
    padding:10px 14px;
    background:#f5f7fa;
    border:1px solid #dbe4ec;
    border-radius:8px;
    cursor:pointer;
    transition:.25s;
    color:#334155;
}
.license-copy code{
    padding:0;
    margin:0;
    border:none;
    background:none;
    white-space:nowrap;
    font-family:Consolas,Monaco,monospace;
    color:inherit;
}
.license-copy svg{
    flex-shrink:0;
    opacity:.6;
    transition:.25s;
}
.license-copy.copied{
    background:#eaf9ef;
    border-color:#1ea35a;
    color:#1b8b4b;
}
.button-primary {
    background: #dcfbe9;
    border: 1px solid #bae9cd;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* ============================
   ORDER LICENSE
============================ */

.order-license-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.order-license-header{
    margin-bottom:30px;
}

.order-license-header h2{
    margin:0 0 8px;
    font-size:28px;
    font-weight:700;
}

.order-license-header p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}

.order-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.order-group{
    display:flex;
    flex-direction:column;
}

.order-group label{
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#1e293b;
}

.order-group input,
.order-group select,
.order-group textarea{

    width:100%;
    padding:14px 18px;

    border:1px solid #d1d5db;
    border-radius:12px;

    background:#fff;

    font-size:15px;

    transition:.25s;
}

.order-group input:focus,
.order-group select:focus,
.order-group textarea:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.order-group textarea{

    min-height:140px;

    resize:vertical;

}

.order-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:14px 24px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.order-button:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}

.order-info{

    padding:18px;

    border-radius:14px;

    background:#f8fafc;

    border:1px solid #e2e8f0;

    color:#475569;

    font-size:14px;

    line-height:1.8;

}
.member-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profil-apg-member {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.required {
    color: #b3003c;
}
.apg-klm-promem {
    font-weight: 500;
}
.promem-apg-card {
    margin: 40px auto;
    max-width: 500px;
}
.promem-apg-tab {
    background: #f3fbff;
    border: 1px solid #ceefff;
    padding: 6px;
}
.button-apg-promem {
    background: #296e8f;
    border: none;
    color: #fff;
    padding: 6px 10px;
    margin-top: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
form#apg-order-form {
    padding: 1px 15px 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    border-radius: 10px;
}
.apg-order-title {
    display: flex;
    justify-content: center;
}
.apg-order-title {
    display: flex;
    justify-content: center;
    background: #306567;
    color: #fff;
    border-radius: 10px;
}
.apg-order-description, .apg-order-section-desc {
    background: #f1f1e4;
    padding: 10px;
    margin-bottom: 5px;
}
.apg-order-description{
    margin-top:15px;
}
.prof-apg-mem {
    color: #0000ff;
    font-style: italic;
}
.apg-order-section-title {
    background: #306567;
    margin-left: -15px;
    max-width: 150px;
    padding-left: 15px;
    border-radius: 0 10px 10px 0;
    margin-top: 15px;
    color: #fff;
}
.payment-box {
    padding: 15px;
    background: #ebffeb;
}
.payment-apg {
    font-weight: 700;
    font-size: larger;
}
@media (min-width:500px){
.member-wrapper {
    top: 10px;
}
}
@media (min-width:1100px){
.member-wrapper {
    top: 50px;
}
}
@media (min-width:1550px){
.member-wrapper {
    top: 100px;
}
}
@media (min-width:768px){
.member-wrapper {
    top: -20px;
}
.member-table-hint{
    display:none;
}
.member-account-toggle{
padding:10px 16px;
}

/* FORM ORDER */
.order-license-card{

        padding:40px;

    }

    .order-license-header{

        display:flex;
        justify-content:space-between;
        align-items:center;

    }

    .order-form{

        max-width:720px;

    }

    .order-button{

        width:auto;

        min-width:220px;

    }
}
@media (hover: hover) {
.apg-download-theme:hover {
    background: #097d71;
}
.license-copy:hover{
    background:#eef6ff;
    border-color:#2997ff;
}
.member-menu a:hover{
    color:#0f172a;
    border-color:#cbd5e1;
}
.member-account-toggle:hover{
    border-color:#cbd5e1;
    background:#f8fafc;
}
.license-copy:hover svg{
    opacity:1;
    color:#2997ff;
}
.button-primary:hover{
    background:#148443;
    color:#fff;
}
}