/* =====================================
   SDMINFRA REGISTER
===================================== */

.sdmi-register-wrapper{

    max-width:520px;

    margin:35px auto;

    background:#ffffff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.sdmi-register-wrapper h2{

    margin:0 0 12px;

    font-size:32px;

    color:#374572;

    font-weight:700;

    text-align:center;

}

.sdmi-register-wrapper > p{

    text-align:center;

    color:#666;

    font-size:15px;

    margin-bottom:30px;

    line-height:1.7;

}

/* =====================================
   FORM REGISTER
===================================== */

.sdmi-register-form{

    margin-top:35px;

}

.sdmi-register-form h3{

    font-size:24px;

    color:#374572;

    margin:30px 0 18px;

    padding-bottom:10px;

    border-bottom:1px solid #ececec;

}

.sdmi-register-form p{

    margin-bottom:22px;

}

.sdmi-register-form label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#222;

}

/* =====================================
   INPUT
===================================== */

.sdmi-register-form input[type=text],

.sdmi-register-form input[type=email],

.sdmi-register-form input[type=password],

.sdmi-register-form select{

    width:100%;

    height:52px;

    padding:0 18px;

    border:1px solid #d9d9d9;

    border-radius:8px;

    font-size:15px;

    transition:.25s;

    background:#fff;

}

.sdmi-register-form input:focus,

.sdmi-register-form select:focus{

    outline:none;

    border-color:#374572;

    box-shadow:0 0 0 4px rgba(55,69,114,.12);

}

/* =====================================
   MOBILE REGISTER
===================================== */

@media (max-width:768px){

    .sdmi-register-wrapper{

        padding:25px 20px;

        margin:20px 15px;

    }

    .sdmi-register-wrapper h2{

        font-size:24px;

        line-height:1.3;

    }

    .sdmi-register-wrapper > p{

        font-size:14px;

    }

    .sdmi-register-form h3{

        font-size:22px;

    }

}

/* =====================================
   LOGIN BOX
===================================== */

.sdmi-login-box{

    margin-top:35px;

    text-align:center;

}

.sdmi-login-box p{

    margin-bottom:18px;

    font-size:16px;

    color:#444;

}

.sdmi-login-btn{

    width:100%;

    display:block;

    padding:16px;

    border:2px solid #c60101;

    border-radius:8px;

    background:#ffffff;

    color:#c60101;

    font-size:16px;

    font-weight:700;

    text-align:center;

    text-decoration:none;

    transition:.3s;

    box-sizing:border-box;

}

.sdmi-login-btn:hover{

    background:#c60101;

    color:#ffffff;

}

/* =====================================
   PERNYATAAN
===================================== */

.sdmi-statement{

    margin:35px 0;

}

.sdmi-statement label{

    display:flex;

    align-items:flex-start;

    gap:12px;

    font-size:15px;

    line-height:1.8;

    color:#444;

}

.sdmi-statement input{

    margin-top:5px;

}

/* =====================================
   TOMBOL DAFTAR MEMBER
===================================== */

.sdmi-register-btn{

    width:100%;

    height:52px;

    background:#FFC107;

    color:#111;

    border:none;

    border-radius:8px;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.sdmi-register-btn:hover{

    background:#F3C951;

}

/* ==========================================================
   DETAIL MEMBER CARD
========================================================== */

.sdmi-detail-card{

    background:#ffffff;
    border-radius:14px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    margin-bottom:15px;
    overflow:hidden;
    border:1px solid #ececec;

}

.sdmi-detail-card-header{

    background:#374572;
    padding:18px 25px;

}

.sdmi-detail-card-header h2{

    margin:0;
    color:#ffffff;
    font-size:22px;
    font-weight:700;

}

.sdmi-detail-card-body{

    padding:0;

}

.sdmi-detail-row{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 25px;

    border-bottom:1px solid #f1f1f1;

}

.sdmi-detail-row:last-child{

    border-bottom:none;

}

.sdmi-label{

    width:220px;

    font-weight:600;

    color:#666;

}

.sdmi-value{

    flex:1;

    color:#222;

    font-weight:600;

    font-size:16px;

}

@media(max-width:768px){

    .sdmi-detail-row{

        flex-direction:column;
        align-items:flex-start;
        gap:8px;

    }

    .sdmi-label{

        width:100%;

    }

}

/* ==========================================================
   BUTTON DELETE MEMBER
========================================================== */

.sdmi-btn-delete{

    background:#d63638 !important;
    color:#ffffff !important;
    border:1px solid #d63638;
    margin-left:8px;

}

.sdmi-btn-delete:hover{

    background:#b32d2e !important;
    border-color:#b32d2e;

}

/* ==========================================================
   REGISTER SUCCESS
========================================================== */

.sdmi-register-success{

    max-width:650px;

    margin:25px auto;

    background:#ffffff;

    border-radius:18px;

    padding:28px 32px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    text-align:center;

}

.sdmi-success-icon{

    font-size:54px;

    margin-bottom:12px;

}

.sdmi-register-success h2{

    font-size:28px;

    margin:0 0 12px;

    color:#374572;

}

.sdmi-success-text{

    font-size:15px;

    line-height:1.7;

    margin-bottom:18px;

}

.sdmi-success-status{

    padding:14px 18px;

    margin-bottom:18px;

    font-size:15px;

}

.sdmi-success-info{

    padding:18px;

    margin-bottom:22px;

}

.sdmi-success-info h3{

    font-size:18px;

    margin-bottom:10px;

}

.sdmi-success-info ul{

    margin:0;

    padding-left:20px;

}

.sdmi-success-info li{

    margin-bottom:8px;

    font-size:15px;

}

.sdmi-success-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}

.sdmi-btn-home{

    background:#ffffff;

    border:2px solid #374572;

    color:#374572;

    padding:14px 28px;

    border-radius:8px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.sdmi-btn-home:hover{

    background:#374572;

    color:#ffffff;

}

.sdmi-btn-login{

    background:#FFC107;

    color:#111;

    padding:14px 28px;

    border-radius:8px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.sdmi-btn-login:hover{

    background:#F3C951;

}

@media(max-width:768px){

    .sdmi-register-success{

        margin:25px 15px;

        padding:30px 22px;

    }

    .sdmi-register-success h2{

        font-size:28px;

    }

    .sdmi-success-buttons{

        flex-direction:column;

    }

    .sdmi-btn-home,
.sdmi-btn-login{

    padding:12px 22px;

    font-size:15px;

}

}

/* ==========================================================
   LOGIN MEMBER
========================================================== */

.sdmi-login-wrapper{

    max-width:520px;

    margin:35px auto;

    background:#ffffff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.sdmi-login-wrapper h2{

    margin:0 0 12px;

    text-align:center;

    color:#374572;

    font-size:32px;

}

.sdmi-login-wrapper>p{

    text-align:center;

    color:#666;

    margin-bottom:30px;

    line-height:1.7;

}

.sdmi-login-wrapper label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#333;

}

.sdmi-login-wrapper input[type=text],

.sdmi-login-wrapper input[type=password]{

    width:100%;

    height:52px;

    padding:0 16px;

    border:1px solid #d9d9d9;

    border-radius:8px;

    font-size:15px;

    box-sizing:border-box;

}

.sdmi-login-wrapper input:focus{

    outline:none;

    border-color:#374572;

    box-shadow:0 0 0 4px rgba(55,69,114,.12);

}

.sdmi-login-wrapper .login-remember{

    margin:18px 0;

}

.sdmi-login-wrapper .button{

    width:100%;

    height:52px;

    border:none;

    border-radius:8px;

    background:#FFC107;

    color:#111;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

}

.sdmi-login-wrapper .button:hover{

    background:#F3C951;

}

.sdmi-login-links{

    text-align:center;

    margin-top:25px;

}

.sdmi-login-links a{

    color:#374572;

    text-decoration:none;

    font-weight:600;

}

.sdmi-login-links a:hover{

    text-decoration:underline;

}

@media(max-width:768px){

    .sdmi-login-wrapper{

        margin:20px 15px;

        padding:25px;

    }

}

/* ==========================================================
   SHOW / HIDE PASSWORD
========================================================== */

.sdmi-password-wrap{

    position:relative;

}

.sdmi-password-wrap input{

    padding-right:55px !important;

}

.sdmi-password-toggle{

    position:absolute;

    top:50%;

    right:18px;

    transform:translateY(-50%);

    cursor:pointer;

    font-size:20px;

    color:#888;

    user-select:none;

    transition:.25s;

}

.sdmi-password-toggle:hover{

    color:#374572;

}

/* ==========================================================
   REQUIRED FIELD
========================================================== */

.required{

    color:#d63638;

    font-weight:700;

}

/* ==========================================================
   MEMBER DASHBOARD
========================================================== */

.sdmi-member-dashboard{

    max-width:1100px;

    margin:40px auto;

    padding:20px;

}

.sdmi-dashboard-card{

    background:#ffffff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.sdmi-dashboard-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-bottom:1px solid #ececec;

    padding-bottom:25px;

    margin-bottom:30px;

}

.sdmi-dashboard-header h2{

    margin:0;

    font-size:38px;

    color:#233b72;

    font-weight:700;

}

.sdmi-dashboard-header p{

    margin-top:10px;

    color:#666;

}

/* ==========================================================
   STATUS MEMBER
========================================================== */

.sdmi-status-badge span{

    padding:10px 18px;

    border-radius:50px;

    font-weight:700;

    display:inline-block;

}

.sdmi-active{

    background:#e7f8ec;

    color:#22a447;

}

.sdmi-pending{

    background:#fff4df;

    color:#d89000;

}

.sdmi-reject{

    background:#fdeaea;

    color:#d63638;

}

/* ==========================================================
   PROFILE AREA
========================================================== */

.sdmi-dashboard-profile{

    display:flex;

    align-items:center;

    gap:35px;

    margin-top:30px;

    margin-bottom:35px;

}

.sdmi-dashboard-photo img{

    width:150px;

    height:150px;

    border-radius:18px;

    object-fit:cover;

    border:5px solid #f4f4f4;

}

.sdmi-dashboard-info{

    flex:1;

}

.sdmi-dashboard-info p{

    margin:12px 0;

    font-size:17px;

}

.sdmi-dashboard-info strong{

    display:inline-block;

    width:120px;

    color:#233b72;

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .sdmi-dashboard-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .sdmi-dashboard-profile{

        flex-direction:column;

        text-align:center;

    }

    .sdmi-dashboard-info{

        width:100%;

    }

    .sdmi-dashboard-info strong{

        width:auto;

    }

}

/* ==========================================================
   DASHBOARD MENU
========================================================== */

.sdmi-dashboard-menu{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:35px;

}

.sdmi-menu-card{

    background:#ffffff;

    border:1px solid #ececec;

    border-radius:16px;

    padding:28px 20px;

    text-align:center;

    text-decoration:none;

    color:#233b72;

    transition:.25s;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

}

.sdmi-menu-card:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 24px rgba(0,0,0,.12);

    border-color:#F3C951;

}

.sdmi-menu-icon{

    display:block;

    font-size:38px;

    margin-bottom:12px;

}

.sdmi-menu-card span:last-child{

    display:block;

    font-size:16px;

    font-weight:700;

}

@media(max-width:768px){

    .sdmi-dashboard-menu{

        grid-template-columns:repeat(2,1fr);

    }

}

/* ==========================================================
   MEMBER PROFILE
========================================================== */

.sdmi-member-profile{

    max-width:900px;

    margin:40px auto;

    padding:20px;

}

.sdmi-profile-card{

    background:#ffffff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.sdmi-back-link{

    display:inline-block;

    margin-bottom:25px;

    color:#374572;

    text-decoration:none;

    font-weight:600;

}

.sdmi-back-link:hover{

    color:#F3C951;

}

.sdmi-profile-header{

    display:flex;

    align-items:center;

    gap:30px;

    padding-bottom:30px;

    border-bottom:1px solid #ececec;

    margin-bottom:30px;

}

.sdmi-profile-photo img{

    width:140px;

    height:140px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid #f3f3f3;

}

.sdmi-profile-title h2{

    margin:0 0 12px;

    font-size:34px;

    color:#374572;

}

.sdmi-profile-section{

    margin-bottom:30px;

    padding-bottom:25px;

    border-bottom:1px solid #ececec;

}

.sdmi-profile-section h3{

    margin-bottom:20px;

    color:#374572;

    font-size:22px;

}

.sdmi-profile-section p{

    display:flex;

    justify-content:space-between;

    gap:20px;

    margin:14px 0;

    font-size:16px;

}

.sdmi-profile-section strong{

    color:#374572;

    min-width:180px;

}

.sdmi-profile-action{

    text-align:center;

    margin-top:35px;

}

.sdmi-btn-primary{

    display:inline-block;

    background:#FFC107;

    color:#111;

    text-decoration:none;

    padding:14px 32px;

    border-radius:8px;

    font-weight:700;

    transition:.25s;

}

.sdmi-btn-primary:hover{

    background:#F3C951;

}

@media(max-width:768px){

    .sdmi-profile-header{

        flex-direction:column;

        text-align:center;

    }

    .sdmi-profile-section p{

        flex-direction:column;

        gap:6px;

    }

    .sdmi-profile-section strong{

        min-width:auto;

    }

}

.sdmi-btn-secondary{

    display:inline-block;

    margin-left:12px;

    padding:14px 32px;

    border-radius:8px;

    background:#374572;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.sdmi-btn-secondary:hover{

    background:#2b3659;

    color:#fff;

}

/* ==========================================
   Notifikasi Berhasil
========================================== */

.sdmi-success-notice{

    background:#eaf8ee;

    border-left:5px solid #28a745;

    color:#155724;

    padding:16px 20px;

    border-radius:10px;

    margin-bottom:25px;

    font-size:15px;

    font-weight:600;

}

/* ==========================================================
   DOKUMEN SAYA
========================================================== */

.sdmi-documents-wrapper{

    max-width:980px;

    margin:30px auto 50px;

}

.sdmi-back-link{

    display:inline-block;

    margin-bottom:18px;

    color:#374572;

    text-decoration:none;

    font-weight:600;

}

.sdmi-back-link:hover{

    color:#23345c;

}

.sdmi-page-title{

    margin:0;

    font-size:34px;

    color:#374572;

    font-weight:700;

}

.sdmi-page-desc{

    margin:10px 0 28px;

    color:#666;

    font-size:15px;

}

.sdmi-success-notice{

    margin:18px 0;

    padding:14px 18px;

    background:#ecfff2;

    border:1px solid #8fd6a6;

    border-radius:10px;

    color:#1d6d38;

    font-weight:600;

}

.sdmi-documents-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.sdmi-document-card{

    background:#fff;

    border:1px solid #e8e8e8;

    border-radius:14px;

    padding:18px;

    transition:.25s;

}

.sdmi-document-card:hover{

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.sdmi-document-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

    margin-bottom:14px;

}

.sdmi-document-header h3{

    margin:0;

    font-size:20px;

    color:#374572;

}

.sdmi-status-upload{

    color:#28a745;

    font-size:14px;

    font-weight:700;

}

.sdmi-status-empty{

    color:#dc3545;

    font-size:14px;

    font-weight:700;

}

.sdmi-document-file{

    margin-bottom:18px;

    color:#666;

    font-size:14px;

    word-break:break-word;

}

.sdmi-document-action{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

.sdmi-btn-download,

.sdmi-btn-upload{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:9px 16px;

    border-radius:8px;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:.25s;

}

.sdmi-btn-download{

    background:#374572;

    color:#fff;

}

.sdmi-btn-download:hover{

    background:#29375e;

    color:#fff;

}

.sdmi-btn-upload{

    background:#FFC107;

    color:#111;

}

.sdmi-btn-upload:hover{

    background:#e0aa00;

    color:#111;

}

@media (max-width:767px){

    .sdmi-documents-grid{

        grid-template-columns:1fr;

    }

    .sdmi-document-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .sdmi-document-action{

        width:100%;

    }

    .sdmi-btn-download,

    .sdmi-btn-upload{

        flex:1;

    }

}

/* ==========================================================
   EDIT DOKUMEN
========================================================== */

.sdmi-form-actions{

    margin-top:30px;

}

/* ==========================================================
   HEADER MEMBER
========================================================== */

.sdmi-header-user{

    position:relative;

    display:inline-block;

}

.sdmi-header-trigger{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

    color:#374572;

    font-weight:600;

    padding:8px 12px;

    border-radius:8px;

    transition:all .25s ease;

}

.sdmi-header-trigger:hover{

    background:#f5f7fb;

}

.sdmi-header-trigger .dashicons{

    font-size:22px;

    width:22px;

    height:22px;

    color:#c60101;

    transition:.25s;

}

.sdmi-header-trigger:hover .dashicons{

    color:#8f0000;

}

.sdmi-header-name{

    white-space:nowrap;

    font-size:15px;

}

.sdmi-header-dropdown{

    position:absolute;

    top:calc(100% + 8px);

    right:0;

    min-width:240px;

    background:#fff;

    border-radius:12px;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

    overflow:hidden;

    display:none;

    z-index:9999;

}

.sdmi-header-user:hover .sdmi-header-dropdown{

    display:block;

}

.sdmi-header-dropdown a{

    display:flex;

    align-items:center;

    gap:10px;

    padding:13px 18px;

    color:#374572;

    text-decoration:none;

    font-size:14px;

    transition:.2s;

}

.sdmi-header-dropdown a:hover{

    background:#f7f8fc;

    color:#c60101;

}

.sdmi-header-dropdown hr{

    margin:0;

    border:none;

    border-top:1px solid #ececec;

}

.sdmi-header-login{

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    text-decoration:none;

    transition:.25s;

}

.sdmi-header-login .dashicons{

    font-size:28px;

    width:28px;

    height:28px;

    color:#c60101;

    transition:.25s;

}

.sdmi-header-login:hover .dashicons{

    color:#8f0000;

    transform:scale(1.1);

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:767px){

    .sdmi-header-trigger{

        padding:0;

        gap:4px;

    }

    .sdmi-header-name{

        display:none;

    }

    .sdmi-header-trigger .dashicons{

        font-size:24px;

        width:24px;

        height:24px;

    }

    .sdmi-header-dropdown{

        right:-8px;

        min-width:210px;

    }

}

/* ==========================================================
   REGISTER SUCCESS
========================================================== */

.sdmi-register-success{

    max-width:760px;

    margin:70px auto;

    padding:20px;

}

.sdmi-register-success-card{

    background:#fff;

    border-radius:18px;

    padding:45px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    text-align:center;

}

.sdmi-success-icon{

    font-size:64px;

    margin-bottom:20px;

}

.sdmi-register-success h2{

    color:#374572;

    font-size:32px;

    margin-bottom:15px;

}

.sdmi-success-lead{

    color:#555;

    font-size:17px;

    line-height:1.8;

    margin-bottom:25px;

}

.sdmi-success-status{

    margin-bottom:25px;

}

.sdmi-status-badge{

    display:inline-block;

    background:#FFF8E1;

    color:#C58A00;

    border:1px solid #FFD54F;

    padding:10px 18px;

    border-radius:30px;

    font-weight:700;

    font-size:14px;

}

.sdmi-success-info{

    text-align:left;

    background:#F8FAFC;

    border-left:5px solid #374572;

    border-radius:10px;

    padding:25px;

    margin-bottom:25px;

}

.sdmi-success-info h3{

    margin-top:0;

    margin-bottom:15px;

    color:#374572;

    font-size:20px;

}

.sdmi-success-info ul{

    margin:0;

    padding-left:20px;

}

.sdmi-success-info li{

    margin-bottom:12px;

    line-height:1.7;

    color:#555;

}

.sdmi-success-note{

    background:#FFF8E1;

    border:1px solid #FFE082;

    border-radius:10px;

    padding:18px;

    color:#666;

    line-height:1.8;

    text-align:left;

    margin-bottom:30px;

}

/* ===============================
   BUTTONS
=============================== */

.sdmi-success-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin-top:30px;

}

.sdmi-btn-primary,

.sdmi-btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:.25s;

}

.sdmi-btn-primary{

    background:#c60101;

    color:#fff;

}

.sdmi-btn-primary:hover{

    background:#980000;

    color:#fff;

}

.sdmi-btn-secondary{

    background:#f5f5f5;

    color:#374572;

    border:1px solid #ddd;

}

.sdmi-btn-secondary:hover{

    background:#ececec;

    color:#374572;

}

/* ===============================
   MOBILE
=============================== */

@media (max-width:767px){

    .sdmi-register-success{

        margin:40px auto;

        padding:15px;

    }

    .sdmi-register-success-card{

        padding:30px 20px;

    }

    .sdmi-register-success h2{

        font-size:26px;

    }

    .sdmi-success-lead{

        font-size:15px;

    }

    .sdmi-success-buttons{

        flex-direction:column;

        gap:10px;

    }

    .sdmi-btn-primary,

    .sdmi-btn-secondary{

        width:100%;

    }

}