/* =========================================================
   SUNRISE TE PROFILE / MEMBER SETTINGS
   (moved from the old m_profile.php into the theme, Nov 2026)
========================================================= */

/* =========================================================
   SUNRISE TE PROFILE / MEMBER SETTINGS
   CLEAN VERSION FOR NEW SIDEBAR THEME
========================================================= */

.mp-wrap{
    width:100%;
    max-width:820px;
    margin:18px auto 30px;
    padding:0 12px;

    font-family:Arial, Helvetica, sans-serif;
    color:#263746;

    box-sizing:border-box;
}

.mp-wrap *{
    box-sizing:border-box;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.mp-card{
    width:100%;

    padding:0;

    background:transparent;

    border:0;
    border-radius:0;

    box-shadow:none;

    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}


/* =========================================================
   TITLE
========================================================= */

.mp-title{
    margin:0 0 16px;

    text-align:center;

    color:#075985;

    font-size:25px;
    line-height:1.15;

    font-weight:900;
}


/* =========================================================
   ALERTS
========================================================= */

.mp-alert,
.mp-success{
    width:100%;
    max-width:700px;

    margin:0 auto 14px;
    padding:9px 12px;

    border-radius:5px;

    text-align:center;

    font-size:12px;
    line-height:1.45;

    font-weight:900;
}

.mp-alert{
    border:1px solid #d9a3a3;

    background:transparent;

    color:#9f2f2f;
}

.mp-success{
    border:1px solid #9fc8ab;

    background:transparent;

    color:#287441;
}


/* =========================================================
   FORM BOX
========================================================= */

.mp-formbox{
    width:100%;
    max-width:700px;

    margin:0 auto;

    padding:14px 16px;

    border:1px solid #d8cba9;
    border-radius:6px;

    background:transparent;
}


/* =========================================================
   FORM TABLE
========================================================= */

.mp-table{
    width:100%;

    border-collapse:collapse;
}

.mp-table td{
    vertical-align:middle;

    padding:6px 0;
}


/* =========================================================
   LABELS
========================================================= */

.mp-label{
    width:210px;

    padding:6px 12px 6px 0;

    color:#075985;

    font-size:12px;
    font-weight:900;

    text-align:right;

    white-space:nowrap;
}

.mp-field{
    padding:0;
}


/* =========================================================
   INPUTS
========================================================= */

.mp-input,
.mp-select,
.mp-textarea{
    width:100%;
    max-width:100%;

    padding:7px 9px;

    border:1px solid #9fb7c5;
    border-radius:4px;

    background:#ffffff;

    color:#263746;

    font-size:12px;
    font-weight:700;

    outline:none;
}

.mp-input,
.mp-select{
    min-height:34px;
}

.mp-textarea{
    min-height:80px;
    resize:vertical;
}

.mp-input:focus,
.mp-select:focus,
.mp-textarea:focus{
    border-color:#0875a5;

    box-shadow:none;
}


/* =========================================================
   NOTE
========================================================= */

.mp-note{
    padding:9px 11px;

    border:1px solid #e2c77a;
    border-radius:5px;

    background:transparent;

    color:#7d5c00;

    font-size:11px;
    line-height:1.45;

    font-weight:700;
}


/* =========================================================
   CHECKBOX
========================================================= */

.mp-check{
    display:flex;

    align-items:center;

    gap:7px;

    color:#263746;

    font-size:12px;
    font-weight:700;
}

.mp-check input{
    width:16px;
    height:16px;
}


/* =========================================================
   BUTTONS
========================================================= */

.mp-btn-row{
    padding-top:10px;

    text-align:center;
}

.mp-btn,
.mp-btn-row input[type="submit"],
.mp-btn-row button,
.mp-link-btn{
    appearance:none;
    -webkit-appearance:none;

    display:inline-block;

    padding:7px 15px;

    border:0;
    border-radius:5px;

    background:#0875a5;

    color:#ffffff !important;

    font-size:12px;
    font-weight:900;

    text-decoration:none;

    cursor:pointer;

    box-shadow:none;
}

.mp-btn:hover,
.mp-btn-row input[type="submit"]:hover,
.mp-btn-row button:hover,
.mp-link-btn:hover{
    background:#06658f;
}


/* DANGER */

.mp-btn-danger{
    background:#b83d54 !important;
}

.mp-btn-danger:hover{
    background:#993247 !important;
}


/* WARNING */

.mp-btn-warn{
    background:#d89216 !important;

    color:#ffffff !important;
}

.mp-btn-warn:hover{
    background:#b8790e !important;
}


/* =========================================================
   LOGIN LOG
========================================================= */

.mp-loginlog{
    width:100%;
    max-width:700px;

    margin:18px auto 0;
}

.mp-loginlog-table{
    width:100%;

    border-collapse:collapse;

    border:1px solid #d8cba9;

    background:transparent;
}

.mp-loginlog-table th{
    padding:8px 7px;

    border-bottom:2px solid #d8cba9;

    background:transparent;

    color:#075985;

    font-size:11px;
    font-weight:900;

    text-align:center;
}

.mp-loginlog-table td{
    padding:8px 7px;

    border-bottom:1px solid #e4dcc8;

    background:transparent;

    color:#263746;

    font-size:11px;
    font-weight:700;

    text-align:center;
}

.mp-loginlog-table tr:last-child td{
    border-bottom:0;
}


/* =========================================================
   CENTER HELPER
========================================================= */

.mp-center{
    text-align:center;
}


/* =========================================================
   CONFIRMATION
========================================================= */

.mp-confirm{
    width:100%;
    max-width:650px;

    margin:0 auto;

    padding:16px;

    border:1px solid #d8cba9;
    border-radius:6px;

    background:transparent;

    text-align:center;
}

.mp-confirm h3{
    margin:0 0 8px;

    color:#a4374d;

    font-size:22px;
    font-weight:900;
}

.mp-confirm p{
    margin:0;

    color:#263746;

    font-size:12px;
    line-height:1.5;

    font-weight:700;
}

.mp-confirm-actions{
    display:flex;

    justify-content:center;
    flex-wrap:wrap;

    gap:7px;

    margin-top:14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:760px){

    .mp-wrap{
        padding:0 8px;
    }

    .mp-title{
        font-size:22px;
    }

    .mp-formbox{
        padding:12px;
    }

    .mp-table,
    .mp-table tbody,
    .mp-table tr,
    .mp-table td{
        display:block;

        width:100%;
    }

    .mp-label{
        width:100%;

        padding:8px 0 4px;

        text-align:left;

        white-space:normal;
    }

    .mp-field{
        padding-bottom:5px;
    }

    .mp-confirm-actions{
        flex-direction:column;
    }

    .mp-confirm-actions .mp-btn,
    .mp-confirm-actions .mp-link-btn{
        width:100%;
    }
}