/* ============================================================
   PHYSA SETTINGS PAGE
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    background: #CBCBCB;

    color: #222;

}


/* ============================================================
   SIDEBAR
============================================================ */

.sidebar {

    position: fixed;

    left: 0;
    top: 0;

    width: 255px;

    height: 100vh;

    background: #174D38;

    color: white;

    display: flex;

    flex-direction: column;

    z-index: 1000;

    box-shadow:
        8px 0 25px rgba(0,0,0,0.15);

}


/* ============================================================
   LOGO
============================================================ */

.logo {

    padding:
        28px 20px 22px;

    text-align: center;

    border-bottom:
        1px solid rgba(255,255,255,0.12);

}


.logo-image {

    width: 72px;
    height: 72px;

    margin: auto;

    padding: 4px;

    background: white;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18);

}


.logo-image img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 14px;

}


.logo h2 {

    margin-top: 12px;

    font-size: 23px;

    letter-spacing: 2px;

    color: white;

}


.logo p {

    margin-top: 5px;

    font-size: 10px;

    line-height: 1.5;

    letter-spacing: 1.3px;

    color:
        rgba(255,255,255,0.70);

}


/* ============================================================
   MENU TITLE
============================================================ */

.menu-title {

    padding:
        25px
        25px
        8px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color:
        rgba(255,255,255,0.45);

}


/* ============================================================
   SIDEBAR MENU
============================================================ */

.sidebar ul {

    list-style: none;

    padding: 0 13px;

}


.sidebar li {

    margin-bottom: 4px;

}


.sidebar li a {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 13px 15px;

    border-radius: 10px;

    color:
        rgba(255,255,255,0.78);

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition:
        all 0.25s ease;

}


.sidebar li a i {

    width: 20px;

    text-align: center;

    font-size: 16px;

}


.sidebar li a:hover {

    background:
        rgba(255,255,255,0.11);

    color: white;

    transform:
        translateY(-3px);

}


.sidebar li.active a {

    background: #F2F2F2;

    color: #174D38;

    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(0,0,0,0.16);

}


.sidebar li.active a i {

    color: #4D1717;

}


/* ============================================================
   LOGOUT
============================================================ */

.sidebar-bottom {

    margin-top: auto;

    padding: 15px;

    border-top:
        1px solid rgba(255,255,255,0.12);

}


.sidebar-bottom a {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 13px 15px;

    color:
        rgba(255,255,255,0.75);

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;

    transition:
        all 0.25s ease;

}


.sidebar-bottom a:hover {

    background:
        rgba(255,255,255,0.10);

    color: white;

    transform:
        translateY(-3px);

}


/* ============================================================
   MAIN
============================================================ */

.main {

    margin-left: 255px;

    width:
        calc(100% - 255px);

    min-height: 100vh;

    padding: 30px 35px;

}


/* ============================================================
   HEADER
============================================================ */

.page-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 28px;

}


.header-left {

    display: flex;

    align-items: center;

    gap: 15px;

}


.header-icon {

    width: 52px;
    height: 52px;

    border-radius: 14px;

    background: #174D38;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    box-shadow:
        0 8px 18px rgba(23,77,56,0.25);

}


.small-heading {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    color: #4D1717;

}


.page-header h1 {

    font-size: 30px;

    margin-top: 3px;

    color: #174D38;

}


.page-header p {

    font-size: 13px;

    margin-top: 3px;

    color: #555;

}


.header-date {

    display: flex;

    align-items: center;

    gap: 8px;

    background: #F2F2F2;

    padding: 12px 15px;

    border-radius: 10px;

    color: #174D38;

    font-size: 12px;

    font-weight: 600;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.08);

}


/* ============================================================
   SETTINGS LAYOUT
============================================================ */

.settings-layout {

    display: grid;

    grid-template-columns:
        300px 1fr;

    gap: 22px;

    align-items: start;

}


/* ============================================================
   SETTINGS MENU
============================================================ */

.settings-menu {

    background: #F2F2F2;

    border-radius: 15px;

    padding: 12px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.10);

}


.settings-menu-title {

    padding:
        14px
        14px
        10px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #888;

}


.settings-menu a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px;

    margin-bottom: 5px;

    border-radius: 11px;

    text-decoration: none;

    color: #555;

    transition:
        all 0.25s ease;

}


.settings-menu a:hover {

    background:
        rgba(23,77,56,0.06);

    transform:
        translateX(4px);

}


.settings-menu a.active {

    background:
        rgba(23,77,56,0.09);

    color: #174D38;

}


.settings-menu a > span:nth-child(2) {

    flex: 1;

}


.settings-menu strong {

    display: block;

    font-size: 13px;

    color: #333;

}


.settings-menu a.active strong {

    color: #174D38;

}


.settings-menu small {

    display: block;

    margin-top: 3px;

    font-size: 9px;

    color: #999;

    line-height: 1.4;

}


.menu-icon {

    width: 38px;
    height: 38px;

    min-width: 38px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

}


.menu-icon.green {

    background: #174D38;

}


.menu-icon.maroon {

    background: #4D1717;

}


.arrow {

    font-size: 9px;

    color: #AAA;

}


/* ============================================================
   SETTINGS CONTENT
============================================================ */

.settings-content {

    min-width: 0;

}


/* ============================================================
   CONTENT CARD
============================================================ */

.content-card {

    background: #F2F2F2;

    border-radius: 15px;

    padding: 27px;

    min-height: 500px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.10);

    animation:
        fadeIn 0.3s ease;

}


@keyframes fadeIn {

    from {

        opacity: 0;

        transform:
            translateY(5px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* ============================================================
   CONTENT TITLE
============================================================ */

.content-title {

    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 20px;

    border-bottom:
        1px solid #DDD;

    margin-bottom: 20px;

}


.title-icon {

    width: 47px;
    height: 47px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 18px;

}


.title-icon.green {

    background: #174D38;

}


.title-icon.maroon {

    background: #4D1717;

}


.content-title span {

    display: block;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.4px;

    color: #4D1717;

}


.content-title h2 {

    margin-top: 3px;

    font-size: 22px;

    color: #174D38;

}


.content-description {

    font-size: 13px;

    line-height: 1.7;

    color: #777;

    margin-bottom: 25px;

}


/* ============================================================
   INFO MESSAGE
============================================================ */

.info-message {

    display: flex;

    gap: 12px;

    align-items: flex-start;

    padding: 15px;

    border-radius: 10px;

    background:
        rgba(23,77,56,0.07);

    border-left:
        4px solid #174D38;

    color: #555;

    font-size: 12px;

    line-height: 1.6;

    margin-bottom: 22px;

}


.info-message i {

    color: #174D38;

    margin-top: 2px;

}


/* ============================================================
   SUCCESS MESSAGE
============================================================ */

.success-message {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 10px;

    background:
        rgba(23,77,56,0.08);

    border-left:
        4px solid #174D38;

    color: #174D38;

    font-size: 12px;

    font-weight: 600;

}


/* ============================================================
   ACCOUNT
============================================================ */

.account-information {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.information-row {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px;

    border:
        1px solid #DDD;

    border-radius: 11px;

    transition:
        all 0.25s ease;

}


.information-row:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 7px 16px rgba(0,0,0,0.08);

}


.information-icon {

    width: 42px;
    height: 42px;

    border-radius: 10px;

    background: #174D38;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}


.information-text label {

    display: block;

    font-size: 10px;

    color: #999;

    margin-bottom: 4px;

}


.information-text strong {

    display: block;

    color: #333;

    font-size: 14px;

}


.information-text small {

    display: block;

    margin-top: 4px;

    color: #999;

    font-size: 9px;

}


.password-mask {

    letter-spacing: 3px;

}


.security-note {

    margin-top: 20px;

    padding: 13px;

    background:
        rgba(77,23,23,0.06);

    border-radius: 9px;

    color: #4D1717;

    font-size: 11px;

    line-height: 1.6;

}


/* ============================================================
   BUTTON
============================================================ */

.save-button {

    border: none;

    background: #174D38;

    color: white;

    padding: 12px 18px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        all 0.25s ease;

}


.save-button:hover {

    background: #4D1717;

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 17px rgba(0,0,0,0.15);

}


/* ============================================================
   THEME OPTIONS
============================================================ */

.theme-options {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 22px;

}


.theme-option {

    cursor: pointer;

}


.theme-option input {

    display: none;

}


.theme-card {

    border:
        2px solid #DDD;

    border-radius: 13px;

    overflow: hidden;

    transition:
        all 0.25s ease;

}


.theme-card:hover {

    transform:
        translateY(-4px);

}


.theme-option input:checked
+ .theme-card {

    border-color: #174D38;

    box-shadow:
        0 10px 22px rgba(23,77,56,0.15);

}


/* ============================================================
   THEME PREVIEW
============================================================ */

.preview-top {

    height: 30px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 10px;

}


.preview-top span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #AAA;

}


.light-preview .preview-top {

    background: #EEE;

}


.dark-preview .preview-top {

    background: #202522;

}


.preview-content {

    height: 135px;

    display: flex;

}


.preview-sidebar {

    width: 25%;

}


.preview-main {

    flex: 1;

    padding: 15px;

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.preview-main div {

    height: 22px;

    border-radius: 5px;

}


.light-preview .preview-sidebar {

    background: #174D38;

}


.light-preview .preview-main {

    background: #CBCBCB;

}


.light-preview .preview-main div {

    background: #F2F2F2;

}


.dark-preview .preview-sidebar {

    background: #102E22;

}


.dark-preview .preview-main {

    background: #171A19;

}


.dark-preview .preview-main div {

    background: #292E2C;

}


/* ============================================================
   THEME LABEL
============================================================ */

.theme-label {

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        13px 15px;

    background: #F2F2F2;

    color: #555;

}


.theme-label strong {

    font-size: 12px;

}


.theme-label > i:last-child {

    margin-left: auto;

    color: #DDD;

}


.theme-option input:checked
+ .theme-card
.theme-label > i:last-child {

    color: #174D38;

}


/* ============================================================
   CONTACT
============================================================ */

.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;

}


.contact-card {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 17px;

    border:
        1px solid #DDD;

    border-radius: 11px;

    transition:
        all 0.25s ease;

}


.contact-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 7px 15px rgba(0,0,0,0.08);

}


.contact-card.full {

    grid-column:
        1 / -1;

}


.contact-icon {

    width: 40px;
    height: 40px;

    min-width: 40px;

    border-radius: 10px;

    background: #4D1717;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}


.contact-card small {

    display: block;

    color: #999;

    font-size: 9px;

    margin-bottom: 4px;

}


.contact-card strong {

    display: block;

    color: #333;

    font-size: 12px;

    line-height: 1.5;

}


/* ============================================================
   PRIVACY
============================================================ */

.information-section {

    display: flex;

    gap: 15px;

    padding: 18px 0;

    border-bottom:
        1px solid #DDD;

}


.information-section:last-child {

    border-bottom: none;

}


.section-icon {

    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 10px;

    background: #174D38;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}


.information-section h3 {

    font-size: 14px;

    color: #333;

    margin-bottom: 6px;

}


.information-section p {

    font-size: 12px;

    line-height: 1.8;

    color: #777;

}


/* ============================================================
   FEEDBACK
============================================================ */

.feedback-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

}


.feedback-card {

    background: #FFFFFF;

    border:
        1px solid #DDD;

    border-radius: 13px;

    padding: 20px;

    transition:
        all 0.25s ease;

}


.feedback-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 18px rgba(0,0,0,0.08);

}


.feedback-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

}


.feedback-icon {

    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 10px;

    background: #174D38;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}


.feedback-user strong {

    display: block;

    color: #333;

    font-size: 13px;

}


.feedback-date {

    display: block;

    margin-top: 3px;

    color: #999;

    font-size: 10px;

}


.feedback-comment {

    padding: 14px;

    border-radius: 10px;

    background:
        rgba(23,77,56,0.06);

    color: #555;

    font-size: 12px;

    line-height: 1.7;

}


.feedback-comment i {

    color: #174D38;

    margin-right: 5px;

}


/* ============================================================
   EMPTY FEEDBACK
============================================================ */

.empty-feedback {

    text-align: center;

    padding:
        60px 25px;

    border:
        1px dashed #CCC;

    border-radius: 13px;

}


.empty-feedback-icon {

    width: 60px;
    height: 60px;

    margin:
        0 auto 15px;

    border-radius: 15px;

    background:
        rgba(77,23,23,0.08);

    color: #4D1717;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

}


.empty-feedback h3 {

    color: #333;

    font-size: 16px;

    margin-bottom: 6px;

}


.empty-feedback p {

    color: #888;

    font-size: 12px;

}


/* ============================================================
   ABOUT
============================================================ */

.about-card {

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}


.about-logo {

    width: 85px;
    height: 85px;

    padding: 5px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);

}


.about-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 15px;

}


.about-card > h2 {

    margin-top: 15px;

    font-size: 27px;

    letter-spacing: 2px;

    color: #174D38;

}


.about-subtitle {

    margin-top: 5px;

    font-size: 11px;

    color: #777;

}


.version {

    margin-top: 12px;

    padding: 6px 12px;

    border-radius: 20px;

    background:
        rgba(23,77,56,0.10);

    color: #174D38;

    font-size: 10px;

    font-weight: 700;

}


.about-text {

    max-width: 700px;

    margin-top: 20px;

    font-size: 12px;

    line-height: 1.8;

    color: #777;

}


.about-information {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    width: 100%;

    max-width: 700px;

    gap: 12px;

    margin-top: 25px;

}


.about-information > div {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    padding: 15px;

    border:
        1px solid #DDD;

    border-radius: 10px;

}


.about-information i {

    color: #4D1717;

    font-size: 18px;

}


.about-information span {

    font-size: 10px;

    color: #777;

    line-height: 1.5;

}


.about-information strong {

    display: block;

    color: #333;

    margin-bottom: 3px;

}


.copyright {

    margin-top: 25px;

    padding-top: 15px;

    width: 100%;

    border-top:
        1px solid #DDD;

    color: #999;

    font-size: 10px;

}


/* ============================================================
   FOOTER
============================================================ */

.page-footer {

    display: flex;

    justify-content: space-between;

    padding:
        20px 5px 5px;

    color: #666;

    font-size: 10px;

}


/* ============================================================
   DARK SETTINGS PAGE
============================================================ */

body.theme-dark .settings-menu,
body.dark .settings-menu {

    background: #222725;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.35);

}


body.theme-dark .settings-menu-title,
body.dark .settings-menu-title {

    color: #888;

}


body.theme-dark .settings-menu a,
body.dark .settings-menu a {

    color: #AAA;

}


body.theme-dark .settings-menu strong,
body.dark .settings-menu strong {

    color: #EEE;

}


body.theme-dark .settings-menu a.active,
body.dark .settings-menu a.active {

    background:
        rgba(255,255,255,0.06);

    color: white;

}


body.theme-dark .settings-menu a.active strong,
body.dark .settings-menu a.active strong {

    color: white;

}


body.theme-dark .page-header h1,
body.dark .page-header h1 {

    color: #8BC9AC;

}


body.theme-dark .page-header p,
body.dark .page-header p {

    color: #AAA;

}


body.theme-dark .header-date,
body.dark .header-date {

    background: #292E2C;

    color: #8BC9AC;

}


body.theme-dark .content-card,
body.dark .content-card {

    background: #222725;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.35);

}


body.theme-dark .content-title,
body.dark .content-title {

    border-color: #383D3A;

}


body.theme-dark .content-title h2,
body.dark .content-title h2 {

    color: #8BC9AC;

}


body.theme-dark .content-title span,
body.dark .content-title span {

    color: #BBBBBB;

}


body.theme-dark .content-description,
body.dark .content-description {

    color: #AAA;

}


body.theme-dark .information-row,
body.theme-dark .contact-card,
body.theme-dark .information-section,
body.theme-dark .copyright,

body.dark .information-row,
body.dark .contact-card,
body.dark .information-section,
body.dark .copyright {

    border-color: #383D3A;

}


body.theme-dark .information-text strong,
body.theme-dark .contact-card strong,
body.theme-dark .information-section h3,
body.theme-dark .about-information strong,

body.dark .information-text strong,
body.dark .contact-card strong,
body.dark .information-section h3,
body.dark .about-information strong {

    color: #EEEEEE;

}


body.theme-dark .information-text label,
body.theme-dark .information-text small,
body.theme-dark .contact-card small,

body.dark .information-text label,
body.dark .information-text small,
body.dark .contact-card small {

    color: #999;

}


body.theme-dark .security-note,
body.dark .security-note {

    color: #D9A5A5;

    background:
        rgba(77,23,23,0.18);

}


body.theme-dark .theme-card,
body.dark .theme-card {

    border-color: #414744;

}


body.theme-dark .theme-label,
body.dark .theme-label {

    background: #292E2C;

    color: #DDD;

}


body.theme-dark .theme-option input:checked
+ .theme-card {

    border-color: #5A9C7D;

}


body.theme-dark .contact-card,
body.dark .contact-card {

    background: #292E2C;

}


body.theme-dark .information-section p,
body.dark .information-section p {

    color: #AAA;

}


body.theme-dark .about-text,
body.theme-dark .about-subtitle,

body.dark .about-text,
body.dark .about-subtitle {

    color: #AAA;

}


body.theme-dark .about-information > div,
body.dark .about-information > div {

    border-color: #383D3A;

}


body.theme-dark .about-information span,
body.dark .about-information span {

    color: #AAA;

}


body.theme-dark .page-footer,
body.dark .page-footer {

    color: #888;

}


body.theme-dark .empty-feedback,
body.dark .empty-feedback {

    border-color: #414744;

}


body.theme-dark .empty-feedback h3,
body.dark .empty-feedback h3 {

    color: #EEEEEE;

}


body.theme-dark .empty-feedback p,
body.dark .empty-feedback p {

    color: #999;

}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

    .settings-layout {

        grid-template-columns: 1fr;

    }


    .settings-menu {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

    }


    .settings-menu-title {

        grid-column:
            1 / -1;

    }

}


@media (max-width: 900px) {

    .sidebar {

        width: 75px;

    }


    .logo h2,
    .logo p,
    .menu-title,
    .sidebar li a span,
    .sidebar-bottom span {

        display: none;

    }


    .logo {

        padding:
            20px 10px;

    }


    .logo-image {

        width: 48px;
        height: 48px;

    }


    .sidebar ul {

        padding:
            0 10px;

    }


    .sidebar li a {

        justify-content: center;

        padding: 14px;

    }


    .sidebar-bottom a {

        justify-content: center;

    }


    .main {

        margin-left: 75px;

        width:
            calc(100% - 75px);

        padding: 25px;

    }

}


@media (max-width: 650px) {

    .page-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

    }


    .settings-menu {

        grid-template-columns: 1fr;

    }


    .theme-options,
    .contact-grid,
    .feedback-grid,
    .about-information {

        grid-template-columns: 1fr;

    }


    .contact-card.full {

        grid-column: auto;

    }


    .page-footer {

        flex-direction: column;

        gap: 5px;

    }


    .content-card {

        padding: 20px;

    }
	
	/* ============================================================
   FEEDBACK STAR RATING
============================================================ */

.feedback-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 12px 0 10px 0;
}

.feedback-rating .star {
    font-size: 28px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.feedback-rating .star.filled {
    color: #173477;
}

.feedback-rating .star.empty {
    color: #b8b8b8;
}

}