:root {
    --pink: #ff4fa3;
    --pink-dark: #e83d91;
    --pink-light: #fff0f7;
    --pink-soft: #fff7fb;
    --purple: #9b6cff;
    --text: #35252d;
    --muted: #927c87;
    --white: #ffffff;
    --border: #f4dce8;
    --shadow: 0 8px 30px rgba(255, 79, 163, .10);
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: var(--pink-soft);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.app-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        linear-gradient(
            180deg,
            #fff0f7 0%,
            #fff7fb 35%,
            #fffafd 100%
        );
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding:
        12px 18px
        calc(12px + env(safe-area-inset-right))
        12px
        calc(18px + env(safe-area-inset-left));
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.app-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.brand-flower {
    margin-right: 4px;
}

.app-subtitle {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.header-button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--pink-light);
    color: var(--pink);
    font-size: 20px;
}

.app-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding:
        18px
        calc(18px + env(safe-area-inset-right))
        105px
        calc(18px + env(safe-area-inset-left));
}

.dashboard-page {
    width: 100%;
}

.welcome-card {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 155px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        #ff4fa3,
        #ff78b8
    );
    color: white;
    box-shadow: 0 14px 35px rgba(255, 79, 163, .25);
}

.welcome-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -50px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.welcome-small {
    font-size: 12px;
    opacity: .9;
    margin-bottom: 7px;
}

.welcome-card h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 23px;
    font-weight: 800;
}

.welcome-card p {
    position: relative;
    z-index: 2;
    margin: 8px 0 0;
    font-size: 13px;
    opacity: .92;
}

.welcome-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
    font-size: 26px;
}

.section-title {
    margin: 25px 3px 12px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    min-width: 0;
    padding: 17px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 14px;
    font-size: 19px;
}

.stat-icon.pink {
    background: #ffe3f0;
    color: var(--pink);
}

.stat-icon.purple {
    background: #eee8ff;
    color: var(--purple);
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
}

.stat-value {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 800;
    word-break: break-word;
}

.stat-note {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.reminder-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.reminder-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #e9fff1;
    color: #20a65a;
    font-size: 23px;
}

.reminder-content {
    min-width: 0;
    flex: 1;
}

.reminder-content strong {
    font-size: 14px;
}

.reminder-content p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.reminder-arrow {
    color: #bdaab3;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 13px;
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform .15s ease;
}

.quick-card:active {
    transform: scale(.97);
}

.quick-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--pink-light);
    color: var(--pink);
}

.quick-card span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.bottom-navigation {
    position: fixed;
    z-index: 200;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 72px;
    padding:
        5px
        calc(8px + env(safe-area-inset-right))
        calc(5px + env(safe-area-inset-bottom))
        calc(8px + env(safe-area-inset-left));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(70, 20, 45, .08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.bottom-item {
    width: 25%;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #a38f98;
    font-size: 10px;
    font-weight: 600;
}

.bottom-icon {
    width: 36px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
}

.bottom-item.active {
    color: var(--pink);
}

.bottom-item.active .bottom-icon {
    background: var(--pink-light);
}

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at top left, #ffd8ea, transparent 40%),
        linear-gradient(145deg, #fff1f7, #fffafd);
}

.login-card {
    width: 100%;
    max-width: 390px;
    padding: 30px 24px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--border);
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255,79,163,.15);
}

.login-card .logo {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background: var(--pink-light);
    font-size: 38px;
}

.login-card h3 {
    margin-bottom: 4px;
    font-weight: 800;
}

.login-card p {
    margin-bottom: 24px;
    color: var(--muted);
}

.login-card .form-control {
    min-height: 50px;
    border-radius: 16px;
    border-color: var(--border);
}

.login-card .form-control:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 .2rem rgba(255,79,163,.12);
}

.btn-pink {
    min-height: 50px;
    border: 0;
    border-radius: 16px;
    background: var(--pink);
    color: white;
    font-weight: 700;
}

.btn-pink:hover,
.btn-pink:active {
    background: var(--pink-dark);
    color: white;
}

@media (min-width: 768px) {

    .app-content {
        padding-top: 28px;
    }

    .bottom-navigation {
        left: 50%;
        right: auto;
        width: min(560px, calc(100% - 30px));
        transform: translateX(-50%);
        bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 22px;
        height: 68px;
        padding-bottom: 5px;
    }

    .app-header {
        padding-left: max(20px, calc((100vw - 760px) / 2));
        padding-right: max(20px, calc((100vw - 760px) / 2));
    }
}

/* =========================================
   LOGIN - STANDALONE MOBILE APP
   ========================================= */

.login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding:
        max(20px, env(safe-area-inset-top))
        max(18px, env(safe-area-inset-right))
        max(20px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(255, 79, 163, .20),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(255, 190, 220, .35),
            transparent 35%
        ),
        #fff7fb;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-card {
    width: 100%;
    padding: 30px 24px 24px;

    background: rgba(255, 255, 255, .96);

    border: 1px solid #f5dce8;
    border-radius: 30px;

    box-shadow:
        0 20px 60px rgba(255, 79, 163, .14);

    text-align: center;
}

.login-logo {
    width: 82px;
    height: 82px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 26px;

    background: #fff0f7;

    font-size: 42px;

    box-shadow:
        inset 0 0 0 1px #ffe0ed;
}

.login-title {
    margin: 0;

    color: #35252d;

    font-size: 26px;
    font-weight: 800;
}

.login-subtitle {
    margin: 6px 0 28px;

    color: #9b8791;

    font-size: 13px;
}

.login-field {
    position: relative;

    display: flex;
    align-items: center;

    height: 54px;

    margin-bottom: 14px;

    padding: 0 16px;

    background: #fff;

    border: 1px solid #f0dce6;
    border-radius: 17px;

    transition: .2s ease;
}

.login-field:focus-within {
    border-color: #ff4fa3;

    box-shadow:
        0 0 0 4px rgba(255, 79, 163, .10);
}

.login-field i {
    margin-right: 11px;

    color: #ff4fa3;

    font-size: 18px;
}

.login-field input {
    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #35252d;

    font-size: 14px;
}

.login-field input::placeholder {
    color: #b3a2aa;
}

.login-button {
    width: 100%;
    height: 54px;

    margin-top: 5px;

    border: 0;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #ff4fa3,
            #ff71b5
        );

    color: white;

    font-size: 15px;
    font-weight: 800;

    box-shadow:
        0 10px 24px rgba(255, 79, 163, .25);

    transition: .15s ease;
}

.login-button:active {
    transform: scale(.98);
}

.login-button i {
    margin-right: 7px;
}

.login-error {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;
    padding: 12px 14px;

    border-radius: 14px;

    background: #fff0f1;

    color: #d9364f;

    text-align: left;

    font-size: 12px;
    font-weight: 600;
}

.login-footer {
    margin-top: 24px;

    color: #b39da7;

    font-size: 11px;
}

@media (max-width: 380px) {

    .login-card {
        padding: 25px 18px 20px;
        border-radius: 25px;
    }

    .login-logo {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .login-title {
        font-size: 23px;
    }

}

/* =========================================
   CUSTOMER MODULE
   ========================================= */

.customer-page,
.form-page {
    width: 100%;
}

.page-heading,
.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.form-header {
    justify-content: flex-start;
}

.page-eyebrow {
    margin-bottom: 3px;
    color: #ff4fa3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.page-title {
    margin: 0;
    color: #35252d;
    font-size: 26px;
    font-weight: 800;
}

.page-description {
    margin: 5px 0 0;
    color: #9b8791;
    font-size: 12px;
}

.add-button {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #ff4fa3;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(255,79,163,.22);
}

.back-button {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: white;
    color: #ff4fa3;
    border: 1px solid #f4dce8;
    font-size: 20px;
}

.alert-custom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    padding: 13px 15px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.alert-custom.success {
    background: #eafff1;
    color: #1d9250;
}

.alert-custom.danger {
    background: #fff0f2;
    color: #d9364f;
}

.search-box {
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 10px;
    padding-left: 16px;
    overflow: hidden;
    background: white;
    border: 1px solid #f4dce8;
    border-radius: 17px;
    box-shadow: 0 5px 20px rgba(70,20,45,.04);
}

.search-box input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #35252d;
    font-size: 13px;
}

.search-box button {
    width: 52px;
    height: 100%;
    border: 0;
    background: #fff0f7;
    color: #ff4fa3;
    font-size: 18px;
}

.customer-count {
    margin: 12px 3px;
    color: #9b8791;
    font-size: 11px;
}

.customer-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.customer-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: white;
    border: 1px solid #f4dce8;
    border-radius: 20px;
    box-shadow: 0 7px 25px rgba(70,20,45,.05);
}

.customer-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #ffe4f1;
    color: #ff4fa3;
    font-size: 19px;
    font-weight: 800;
}

.customer-info {
    min-width: 0;
    flex: 1;
}

.customer-info h3 {
    margin: 0 0 3px;
    overflow: hidden;
    color: #35252d;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-phone {
    display: block;
    overflow: hidden;
    color: #20a65a;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-due {
    margin-top: 5px;
    color: #9b8791;
    font-size: 10px;
}

.customer-actions {
    display: flex;
    gap: 5px;
}

.action-button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 13px;
}

.action-button.edit {
    background: #eee8ff;
    color: #815ce5;
}

.action-button.delete {
    background: #fff0f2;
    color: #df4660;
}

.empty-state {
    padding: 45px 20px;
    background: white;
    border: 1px solid #f4dce8;
    border-radius: 25px;
    text-align: center;
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #fff0f7;
    color: #ff4fa3;
    font-size: 32px;
}

.empty-state h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.empty-state p {
    margin: 7px 0 18px;
    color: #9b8791;
    font-size: 12px;
}

.primary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg,#ff4fa3,#ff71b5);
    color: white;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255,79,163,.20);
}

.form-card {
    padding: 20px;
    background: white;
    border: 1px solid #f4dce8;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(70,20,45,.05);
}

.form-group {
    margin-bottom: 18px;
}

.form-group > label {
    display: block;
    margin-bottom: 8px;
    color: #4c3740;
    font-size: 12px;
    font-weight: 800;
}

.input-wrapper,
.textarea-wrapper {
    display: flex;
    align-items: flex-start;
    min-height: 52px;
    padding: 0 15px;
    background: #fffafd;
    border: 1px solid #f0dce6;
    border-radius: 16px;
}

.input-wrapper {
    align-items: center;
}

.input-wrapper:focus-within,
.textarea-wrapper:focus-within {
    border-color: #ff4fa3;
    box-shadow: 0 0 0 4px rgba(255,79,163,.09);
}

.input-wrapper i,
.textarea-wrapper i {
    margin-right: 10px;
    color: #ff4fa3;
}

.input-wrapper input,
.textarea-wrapper textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #35252d;
    font-size: 13px;
}

.textarea-wrapper {
    padding-top: 15px;
}

.textarea-wrapper textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #a18e97;
    font-size: 10px;
}

.due-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.due-option {
    position: relative;
    cursor: pointer;
}

.due-option input {
    position: absolute;
    opacity: 0;
}

.due-option span {
    display: flex;
    flex-direction: column;
    min-height: 72px;
    padding: 13px;
    border: 1px solid #f0dce6;
    border-radius: 16px;
    background: #fffafd;
}

.due-option input:checked + span {
    border-color: #ff4fa3;
    background: #fff0f7;
    box-shadow: 0 0 0 2px rgba(255,79,163,.08);
}

.due-option strong {
    color: #35252d;
    font-size: 12px;
}

.due-option small {
    margin-top: 5px;
    color: #9b8791;
    font-size: 9px;
}

.save-button {
    width: 100%;
    margin-top: 4px;
}

@media (max-width: 380px) {

    .page-title {
        font-size: 23px;
    }

    .customer-card {
        padding: 11px;
    }

    .customer-avatar {
        width: 43px;
        height: 43px;
    }

    .action-button {
        width: 31px;
        height: 31px;
    }

}

/* =========================================================
   MAYA DAVIN - CUSTOMER UI UPGRADE v4
   ========================================================= */

.customer-page {
    padding-bottom: 10px;
}

/* HEADER CUSTOMER */

.page-heading {
    align-items: center;
    margin-bottom: 18px;
}

.page-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #ff4fa3;
    text-transform: uppercase;
}

.page-title {
    margin: 2px 0 0;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.page-description {
    margin-top: 7px;
    font-size: 12px;
    color: #9b8791;
}

.add-button {
    width: 50px;
    height: 50px;
    border-radius: 17px;

    background: linear-gradient(
        135deg,
        #ff4fa3,
        #ff78b8
    );

    color: #fff;

    box-shadow:
        0 10px 24px rgba(255, 79, 163, .24);

    font-size: 21px;
}

.add-button:active {
    transform: scale(.94);
}


/* SEARCH */

.search-box {
    position: relative;

    width: 100%;
    height: 54px;

    margin: 0 0 12px;
    padding: 0 5px 0 17px;

    display: flex;
    align-items: center;

    background: #fff;

    border: 1px solid #f3dce8;
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(65, 20, 45, .055);

    transition: .2s ease;
}

.search-box:focus-within {
    border-color: #ff79b9;

    box-shadow:
        0 0 0 4px rgba(255, 79, 163, .08);
}

.search-box input {
    flex: 1;

    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #35252d;

    font-family: inherit;
    font-size: 13px;
}

.search-box input::placeholder {
    color: #b7a6ae;
}

.search-box button {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 14px;

    background: #fff0f7;
    color: #ff4fa3;

    font-size: 17px;
}

.search-box button:active {
    transform: scale(.92);
}


/* CUSTOMER COUNT */

.customer-count {
    margin: 12px 4px 13px;

    color: #aa96a0;

    font-size: 11px;
    font-weight: 600;
}


/* EMPTY STATE */

.empty-state {
    position: relative;

    padding: 36px 20px 32px;

    background: rgba(255,255,255,.92);

    border: 1px solid #f4dce8;
    border-radius: 27px;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(70,20,45,.055);
}

.empty-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #fff0f7,
            #ffe0ef
        );

    color: #ff4fa3;

    font-size: 34px;

    box-shadow:
        inset 0 0 0 1px #ffe0ed;
}

.empty-state h3 {
    margin: 0;

    color: #35252d;

    font-size: 18px;
    font-weight: 800;
}

.empty-state p {
    max-width: 260px;

    margin: 7px auto 21px;

    color: #9b8791;

    font-size: 12px;
    line-height: 1.6;
}

.empty-state .primary-button {
    width: 100%;
    max-width: 250px;

    min-height: 49px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ff4fa3,
            #ff73b7
        );

    box-shadow:
        0 9px 22px rgba(255,79,163,.20);
}


/* CUSTOMER CARD */

.customer-list {
    gap: 12px;
}

.customer-card {
    position: relative;

    min-height: 83px;

    padding: 14px;

    border: 1px solid #f3dce8;
    border-radius: 21px;

    background: rgba(255,255,255,.97);

    box-shadow:
        0 7px 25px rgba(70,20,45,.05);

    transition: .15s ease;
}

.customer-card:active {
    transform: scale(.985);
}

.customer-avatar {
    width: 50px;
    height: 50px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #ffe0ef,
            #fff0f7
        );

    color: #ff4fa3;

    box-shadow:
        inset 0 0 0 1px #ffe0ed;
}

.customer-info h3 {
    font-size: 14px;
}

.customer-phone {
    margin-top: 2px;

    font-size: 11px;
    font-weight: 600;
}

.customer-due {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    margin-top: 6px;
    padding: 4px 7px;

    border-radius: 8px;

    background: #fff6fa;

    color: #a18491;

    font-size: 9px;
}

.customer-actions {
    flex-direction: column;
    gap: 5px;
}

.action-button {
    width: 32px;
    height: 32px;

    border-radius: 10px;
}

.action-button.edit {
    background: #f0ebff;
    color: #805be5;
}

.action-button.delete {
    background: #fff0f3;
    color: #df4660;
}


/* ALERT */

.alert-custom {
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(50,20,30,.04);
}

.alert-custom.success {
    border-color: #d7f4e2;
}

.alert-custom.danger {
    border-color: #f7d8df;
}


/* MOBILE */

@media (max-width: 480px) {

    .app-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-description {
        font-size: 11px;
    }

    .add-button {
        width: 47px;
        height: 47px;
        border-radius: 15px;
    }

    .empty-state {
        padding-left: 16px;
        padding-right: 16px;
    }

}


/* VERY SMALL PHONE */

@media (max-width: 360px) {

    .page-title {
        font-size: 25px;
    }

    .customer-card {
        padding: 11px;
    }

    .customer-avatar {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .customer-info h3 {
        font-size: 13px;
    }

    .customer-phone {
        font-size: 10px;
    }

    .action-button {
        width: 29px;
        height: 29px;
    }

}


/* =========================================================
   DISABLE DEFAULT BOOTSTRAP BUTTON LOOK IN CUSTOMER AREA
   ========================================================= */

.customer-page button,
.customer-page input {
    font-family: inherit;
}


/* =========================================================
   MAYA DAVIN - INVOICE UI
   ========================================================= */

.invoice-page {
    width: 100%;
}

.invoice-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.invoice-summary-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    background: white;
    border: 1px solid #f4dce8;
    border-radius: 18px;
    box-shadow: 0 7px 22px rgba(70,20,45,.045);
}

.invoice-summary-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
}

.invoice-summary-card.unpaid .invoice-summary-icon {
    background: #fff0d8;
    color: #e89a22;
}

.invoice-summary-card.paid .invoice-summary-icon {
    background: #e8fff1;
    color: #20a65a;
}

.invoice-summary-card span {
    display: block;
    color: #9b8791;
    font-size: 9px;
}

.invoice-summary-card strong {
    display: block;
    margin-top: 2px;
    color: #35252d;
    font-size: 13px;
    font-weight: 800;
    word-break: break-word;
}

.invoice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-card {
    padding: 15px;
    background: white;
    border: 1px solid #f3dce8;
    border-radius: 22px;
    box-shadow: 0 7px 25px rgba(70,20,45,.05);
}

.invoice-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.invoice-avatar {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff0f7;
    color: #ff4fa3;
    font-size: 19px;
}

.invoice-customer {
    min-width: 0;
    flex: 1;
}

.invoice-customer h3 {
    margin: 0;
    overflow: hidden;
    color: #35252d;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-customer span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #20a65a;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-status {
    flex-shrink: 0;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 800;
}

.invoice-status.paid {
    background: #eafff1;
    color: #1d9250;
}

.invoice-status.unpaid {
    background: #fff1dc;
    color: #d88916;
}

.invoice-middle {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
    padding: 13px;
    background: #fffafd;
    border-radius: 15px;
}

.invoice-middle small {
    display: block;
    color: #9b8791;
    font-size: 9px;
}

.invoice-middle strong {
    display: block;
    margin-top: 3px;
    color: #35252d;
    font-size: 16px;
    font-weight: 850;
}

.invoice-due {
    text-align: right;
}

.invoice-due strong {
    font-size: 12px;
}

.invoice-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.invoice-action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 800;
}

.paid-action {
    background: #eafff1;
    color: #1d9250;
}

.unpaid-action {
    background: #fff1dc;
    color: #d88916;
}

.whatsapp-action {
    background: #e9fff1;
    color: #20a65a;
}

.edit-action {
    width: 34px;
    padding: 0;
    background: #eee8ff;
    color: #805be5;
}

.delete-action {
    width: 34px;
    padding: 0;
    background: #fff0f3;
    color: #df4660;
}

.currency-label {
    flex-shrink: 0;
    margin-right: 9px;
    color: #ff4fa3;
    font-size: 13px;
    font-weight: 800;
}

.input-wrapper select {
    width: 100%;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #35252d;
    font-family: inherit;
    font-size: 13px;
}

.input-wrapper input[type="date"] {
    width: 100%;
    height: 50px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #35252d;
    font-family: inherit;
    font-size: 13px;
}

@media (max-width: 380px) {

    .invoice-summary-card {
        padding: 10px;
    }

    .invoice-summary-icon {
        width: 35px;
        height: 35px;
    }

    .invoice-summary-card strong {
        font-size: 11px;
    }

    .invoice-status {
        font-size: 7px;
    }

    .invoice-action {
        padding: 0 8px;
        font-size: 8px;
    }

}

/* =========================================================
   MAYA DAVIN - SETTING UI
   ========================================================= */

.setting-page {
    width: 100%;
}

.setting-heading-icon {
    width: 49px;
    height: 49px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #fff0f7;
    color: #ff4fa3;

    font-size: 20px;
}

.setting-section {
    margin-bottom: 21px;
}

.setting-section-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 10px;
}

.setting-section-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 16px;
}

.setting-section-icon.pink {
    background: #fff0f7;
    color: #ff4fa3;
}

.setting-section-icon.green {
    background: #e9fff1;
    color: #20a65a;
}

.setting-section-icon.purple {
    background: #eee8ff;
    color: #805be5;
}

.setting-section-icon.orange {
    background: #fff1dc;
    color: #d88916;
}

.setting-section-title strong {
    display: block;
    color: #35252d;
    font-size: 13px;
    font-weight: 800;
}

.setting-section-title small {
    display: block;
    margin-top: 2px;
    color: #a18e97;
    font-size: 9px;
}

.setting-card {
    padding: 17px;

    background: white;

    border: 1px solid #f3dce8;
    border-radius: 21px;

    box-shadow:
        0 7px 25px rgba(70,20,45,.045);
}

.setting-field {
    margin-bottom: 16px;
}

.setting-field:last-child {
    margin-bottom: 0;
}

.setting-field label {
    display: block;
    margin-bottom: 7px;

    color: #4c3740;

    font-size: 11px;
    font-weight: 800;
}

.setting-field input,
.setting-field select,
.setting-field textarea {
    width: 100%;

    border: 1px solid #f0dce6;
    outline: 0;

    border-radius: 14px;

    background: #fffafd;
    color: #35252d;

    font-family: inherit;
    font-size: 12px;
}

.setting-field input,
.setting-field select {
    height: 49px;
    padding: 0 13px;
}

.setting-field textarea {
    padding: 13px;
    resize: vertical;
    line-height: 1.55;
}

.setting-field input:focus,
.setting-field select:focus,
.setting-field textarea:focus {
    border-color: #ff4fa3;

    box-shadow:
        0 0 0 4px rgba(255,79,163,.08);
}

.setting-field small {
    display: block;
    margin-top: 6px;

    color: #a18e97;

    font-size: 9px;
}

.reminder-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid #f7e5ed;
}

.reminder-switch-row strong {
    display: block;

    color: #35252d;

    font-size: 12px;
}

.reminder-switch-row small {
    display: block;

    margin-top: 4px;

    color: #a18e97;

    font-size: 9px;
}


/* SWITCH */

.switch {
    position: relative;

    width: 48px;
    height: 28px;

    flex-shrink: 0;

    cursor: pointer;
}

.switch input {
    position: absolute;
    opacity: 0;
}

.switch span {
    position: absolute;

    inset: 0;

    border-radius: 30px;

    background: #ddd2d7;

    transition: .2s ease;
}

.switch span::after {
    content: "";

    position: absolute;

    width: 22px;
    height: 22px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background: white;

    box-shadow: 0 2px 5px rgba(0,0,0,.15);

    transition: .2s ease;
}

.switch input:checked + span {
    background: #ff4fa3;
}

.switch input:checked + span::after {
    transform: translateX(20px);
}


/* REMINDER DAYS */

.reminder-days {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reminder-day {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px;

    border-radius: 15px;

    background: #fff7fb;
}

.day-number {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #ffe2ef;
    color: #ff4fa3;

    font-size: 15px;
    font-weight: 900;
}

.reminder-day strong {
    display: block;

    color: #4c3740;

    font-size: 11px;
}

.reminder-day small {
    display: block;

    margin-top: 3px;

    color: #a18e97;

    font-size: 9px;
}


/* TEMPLATE */

.template-help {
    margin-bottom: 15px;
    padding: 12px;

    border-radius: 14px;

    background: #fff7fb;

    color: #9b8791;

    font-size: 9px;
    line-height: 1.7;
}

.template-help span {
    display: inline-block;

    margin: 2px;

    padding: 3px 6px;

    border-radius: 6px;

    background: #ffe3f0;

    color: #ff4fa3;

    font-weight: 800;
}


/* SAVE */

.setting-save-button {
    width: 100%;
    height: 53px;

    margin-bottom: 20px;

    border: 0;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #ff4fa3,
            #ff71b5
        );

    color: white;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(255,79,163,.22);
}

.setting-save-button:active {
    transform: scale(.98);
}

@media (max-width: 360px) {

    .setting-card {
        padding: 14px;
    }

    .setting-heading-icon {
        width: 44px;
        height: 44px;
    }

}

/* =========================================================
   MAYA DAVIN - SETTING MOBILE UI FIX
   FORCE OVERRIDE
   ========================================================= */

.setting-page {
    width: 100% !important;
    padding-bottom: 20px !important;
}

.setting-page .page-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
}

.setting-page .page-eyebrow {
    display: block !important;
    margin-bottom: 4px !important;
    color: #ff4fa3 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
}

.setting-page .page-title {
    display: block !important;
    margin: 0 !important;
    color: #35252d !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
}

.setting-page .page-description {
    display: block !important;
    margin: 7px 0 0 !important;
    color: #a18e97 !important;
    font-size: 11px !important;
}


/* HEADER ICON */

.setting-page .setting-heading-icon {
    width: 48px !important;
    height: 48px !important;

    flex: 0 0 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 16px !important;

    background: #fff0f7 !important;
    color: #ff4fa3 !important;

    font-size: 19px !important;
}


/* SECTION */

.setting-page .setting-section {
    display: block !important;
    width: 100% !important;
    margin: 0 0 22px !important;
}

.setting-page .setting-section-title {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin: 0 0 10px !important;
}

.setting-page .setting-section-title > div:last-child {
    min-width: 0 !important;
    flex: 1 !important;
}

.setting-page .setting-section-title strong {
    display: block !important;

    margin: 0 !important;

    color: #35252d !important;

    font-size: 13px !important;
    line-height: 1.2 !important;

    font-weight: 800 !important;
}

.setting-page .setting-section-title small {
    display: block !important;

    margin-top: 3px !important;

    color: #a18e97 !important;

    font-size: 9px !important;
    line-height: 1.3 !important;
}


/* SECTION ICON */

.setting-page .setting-section-icon {
    width: 38px !important;
    height: 38px !important;

    flex: 0 0 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 12px !important;

    font-size: 16px !important;
}

.setting-page .setting-section-icon.pink {
    background: #fff0f7 !important;
    color: #ff4fa3 !important;
}

.setting-page .setting-section-icon.green {
    background: #e9fff1 !important;
    color: #20a65a !important;
}

.setting-page .setting-section-icon.purple {
    background: #eee8ff !important;
    color: #805be5 !important;
}

.setting-page .setting-section-icon.orange {
    background: #fff1dc !important;
    color: #d88916 !important;
}


/* CARD */

.setting-page .setting-card {
    width: 100% !important;

    display: block !important;

    box-sizing: border-box !important;

    padding: 17px !important;

    background: #ffffff !important;

    border: 1px solid #f3dce8 !important;
    border-radius: 21px !important;

    box-shadow:
        0 7px 25px rgba(70,20,45,.055) !important;
}


/* FIELD */

.setting-page .setting-field {
    display: block !important;

    width: 100% !important;

    margin: 0 0 17px !important;
}

.setting-page .setting-field:last-child {
    margin-bottom: 0 !important;
}


/* LABEL */

.setting-page .setting-field label {
    display: block !important;

    width: 100% !important;

    margin: 0 0 7px !important;
    padding: 0 !important;

    color: #4c3740 !important;

    font-size: 11px !important;
    line-height: 1.3 !important;

    font-weight: 800 !important;
}


/* INPUT */

.setting-page .setting-field input:not([type="checkbox"]),
.setting-page .setting-field select {
    display: block !important;

    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 49px !important;

    margin: 0 !important;
    padding: 0 13px !important;

    border: 1px solid #f0dce6 !important;
    border-radius: 14px !important;

    outline: none !important;

    background: #fffafd !important;

    color: #35252d !important;

    font-family: inherit !important;
    font-size: 12px !important;
}

.setting-page .setting-field input[type="password"] {
    letter-spacing: .2px !important;
}

.setting-page .setting-field input:not([type="checkbox"]):focus,
.setting-page .setting-field select:focus {
    border-color: #ff4fa3 !important;

    box-shadow:
        0 0 0 4px rgba(255,79,163,.08) !important;
}


/* TEXTAREA */

.setting-page .setting-field textarea {
    display: block !important;

    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 150px !important;
    height: 150px !important;

    margin: 0 !important;
    padding: 13px !important;

    border: 1px solid #f0dce6 !important;
    border-radius: 14px !important;

    outline: none !important;

    resize: vertical !important;

    background: #fffafd !important;

    color: #35252d !important;

    font-family: inherit !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

.setting-page .setting-field textarea:focus {
    border-color: #ff4fa3 !important;

    box-shadow:
        0 0 0 4px rgba(255,79,163,.08) !important;
}


/* HELP TEXT */

.setting-page .setting-field > small {
    display: block !important;

    margin: 6px 0 0 !important;

    color: #a18e97 !important;

    font-size: 9px !important;
    line-height: 1.4 !important;
}


/* REMINDER SWITCH ROW */

.setting-page .reminder-switch-row {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 15px !important;

    margin: 0 0 17px !important;
    padding: 0 0 15px !important;

    border-bottom: 1px solid #f7e5ed !important;
}

.setting-page .reminder-switch-row > div:first-child {
    min-width: 0 !important;
    flex: 1 !important;
}

.setting-page .reminder-switch-row strong {
    display: block !important;

    color: #35252d !important;

    font-size: 12px !important;
    font-weight: 800 !important;
}

.setting-page .reminder-switch-row small {
    display: block !important;

    margin-top: 4px !important;

    color: #a18e97 !important;

    font-size: 9px !important;
    line-height: 1.4 !important;
}


/* SWITCH */

.setting-page .switch {
    position: relative !important;

    display: block !important;

    width: 50px !important;
    height: 29px !important;

    flex: 0 0 50px !important;

    margin: 0 !important;

    cursor: pointer !important;
}

.setting-page .switch input[type="checkbox"] {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.setting-page .switch span {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    border-radius: 30px !important;

    background: #ddd2d7 !important;

    transition: all .2s ease !important;
}

.setting-page .switch span::after {
    content: "" !important;

    position: absolute !important;

    top: 3px !important;
    left: 3px !important;

    width: 23px !important;
    height: 23px !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;

    transition: all .2s ease !important;
}

.setting-page .switch input[type="checkbox"]:checked + span {
    background: #ff4fa3 !important;
}

.setting-page .switch input[type="checkbox"]:checked + span::after {
    transform: translateX(21px) !important;
}


/* REMINDER DAYS */

.setting-page .reminder-days {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 8px !important;
}

.setting-page .reminder-day {
    width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    gap: 11px !important;

    padding: 11px !important;

    border-radius: 15px !important;

    background: #fff7fb !important;
}

.setting-page .day-number {
    width: 42px !important;
    height: 42px !important;

    flex: 0 0 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 14px !important;

    background: #ffe2ef !important;
    color: #ff4fa3 !important;

    font-size: 15px !important;
    font-weight: 900 !important;
}

.setting-page .reminder-day strong {
    display: block !important;

    color: #4c3740 !important;

    font-size: 11px !important;
}

.setting-page .reminder-day small {
    display: block !important;

    margin-top: 3px !important;

    color: #a18e97 !important;

    font-size: 9px !important;
}


/* TEMPLATE HELP */

.setting-page .template-help {
    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 0 15px !important;
    padding: 11px !important;

    border-radius: 14px !important;

    background: #fff7fb !important;

    color: #9b8791 !important;

    font-size: 9px !important;
    line-height: 1.8 !important;
}

.setting-page .template-help span {
    display: inline-block !important;

    margin: 2px !important;
    padding: 3px 6px !important;

    border-radius: 6px !important;

    background: #ffe3f0 !important;
    color: #ff4fa3 !important;

    font-size: 9px !important;
    font-weight: 800 !important;
}


/* SAVE BUTTON */

.setting-page .setting-save-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    width: 100% !important;
    height: 53px !important;

    margin: 4px 0 20px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 17px !important;

    background:
        linear-gradient(
            135deg,
            #ff4fa3,
            #ff71b5
        ) !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;

    box-shadow:
        0 10px 25px rgba(255,79,163,.22) !important;
}


/* ALERT */

.setting-page .alert-custom {
    display: flex !important;
    align-items: center !important;

    gap: 9px !important;

    box-sizing: border-box !important;

    width: 100% !important;

    margin: 0 0 15px !important;
    padding: 13px 15px !important;

    border-radius: 16px !important;

    font-size: 11px !important;
}


/* MOBILE */

@media (max-width: 480px) {

    .setting-page {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .setting-page .setting-card {
        padding: 15px !important;
        border-radius: 20px !important;
    }

    .setting-page .page-title {
        font-size: 27px !important;
    }

    .setting-page .setting-field input:not([type="checkbox"]),
    .setting-page .setting-field select {
        height: 50px !important;
        font-size: 12px !important;
    }

    .setting-page .setting-field textarea {
        min-height: 155px !important;
        height: 155px !important;
    }

}


/* SMALL PHONE */

@media (max-width: 360px) {

    .setting-page .setting-card {
        padding: 13px !important;
    }

    .setting-page .setting-heading-icon {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px !important;
    }

    .setting-page .page-title {
        font-size: 25px !important;
    }

    .setting-page .setting-section-title strong {
        font-size: 12px !important;
    }

}


/* =========================================================
   MAYA DAVIN GLOBAL SIDEBAR
   ========================================================= */

:root {
    --maya-pink: #ff4fa3;
    --maya-pink-light: #fff0f7;
    --maya-pink-soft: #fff7fb;
    --maya-border: #f3dce8;
    --maya-text: #35252d;
    --maya-muted: #a18e97;
}


/* BODY */

body {
    overflow-x: hidden;
}

body.maya-sidebar-open {
    overflow: hidden;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.maya-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 1200;

    width: 270px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffafd 100%
        );

    border-right: 1px solid var(--maya-border);

    box-shadow:
        10px 0 35px rgba(70,20,45,.055);

    transform: translateX(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* BRAND */

.maya-sidebar-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 20px 18px 17px;

    border-bottom: 1px solid #f8e8ef;
}

.maya-brand-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #ffe0ef,
            #fff1f8
        );

    font-size: 21px;
}

.maya-brand-text {
    min-width: 0;
    flex: 1;
}

.maya-brand-text strong {
    display: block;

    color: var(--maya-text);

    font-size: 15px;
    font-weight: 850;
}

.maya-brand-text span {
    display: block;

    margin-top: 2px;

    color: var(--maya-muted);

    font-size: 9px;
}

.maya-sidebar-close {
    display: none;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 11px;

    background: var(--maya-pink-light);

    color: var(--maya-pink);

    font-size: 14px;
}


/* PROFILE */

.maya-sidebar-profile {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    margin: 16px 14px 10px;
    padding: 12px;

    border: 1px solid #f5e0e9;
    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(70,20,45,.035);
}

.maya-profile-avatar {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--maya-pink-light);

    color: var(--maya-pink);

    font-size: 16px;
}

.maya-sidebar-profile > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.maya-sidebar-profile strong {
    display: block;

    overflow: hidden;

    color: var(--maya-text);

    font-size: 11px;

    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.maya-sidebar-profile span:not(.maya-online-dot) {
    display: block;

    margin-top: 3px;

    color: var(--maya-muted);

    font-size: 8px;
}

.maya-online-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #36c978;

    box-shadow:
        0 0 0 3px #e9fff2;
}


/* =========================================================
   MENU
   ========================================================= */

.maya-sidebar-menu {
    flex: 1;

    overflow-y: auto;

    padding: 7px 12px 15px;
}

.maya-menu-label {
    margin: 17px 8px 7px;

    color: #b4a0a9;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 1.3px;
}

.maya-menu-item {
    position: relative;

    display: flex;
    align-items: center;

    gap: 11px;

    width: 100%;

    box-sizing: border-box;

    min-height: 46px;

    margin-bottom: 4px;
    padding: 0 11px;

    border-radius: 14px;

    color: #806c75;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.maya-menu-item:hover {
    background: #fff4f9;

    color: var(--maya-pink);
}

.maya-menu-item.active {
    background:
        linear-gradient(
            135deg,
            #fff0f7,
            #ffe7f2
        );

    color: var(--maya-pink);

    box-shadow:
        inset 0 0 0 1px #ffe0ed;
}

.maya-menu-item.active::before {
    content: "";

    position: absolute;

    left: -12px;

    width: 4px;
    height: 25px;

    border-radius: 0 5px 5px 0;

    background: var(--maya-pink);
}

.maya-menu-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f8f3f6;

    color: #927d86;

    font-size: 15px;

    transition: .18s ease;
}

.maya-menu-item.active .maya-menu-icon {
    background: #ffffff;

    color: var(--maya-pink);

    box-shadow:
        0 4px 12px rgba(255,79,163,.10);
}

.maya-menu-icon.whatsapp {
    color: #20a65a;
}

.maya-menu-icon.reminder {
    color: #d88916;
}

.maya-menu-icon.setting {
    color: #805be5;
}


/* =========================================================
   SIDEBAR BOTTOM
   ========================================================= */

.maya-sidebar-bottom {
    padding: 13px 14px 17px;

    border-top: 1px solid #f8e8ef;
}

.maya-sidebar-version {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;
    padding: 0 4px;

    color: #b09da5;

    font-size: 8px;
}

.maya-logout-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
    height: 43px;

    border-radius: 13px;

    background: #fff1f3;

    color: #df4660;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    transition: .18s ease;
}

.maya-logout-button:hover {
    background: #ffe2e7;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.maya-sidebar-overlay {
    position: fixed;

    inset: 0;

    z-index: 1100;

    background: rgba(35,20,28,.38);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;

    backdrop-filter: blur(2px);
}

.maya-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MOBILE TOPBAR
   ========================================================= */

.maya-global-topbar {
    display: none;

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 64px;

    box-sizing: border-box;

    align-items: center;

    gap: 10px;

    padding: 0 15px;

    background: rgba(255,255,255,.95);

    border-bottom: 1px solid var(--maya-border);

    box-shadow:
        0 4px 20px rgba(70,20,45,.045);

    backdrop-filter: blur(15px);
}

.maya-menu-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 13px;

    background: var(--maya-pink-light);

    color: var(--maya-pink);

    font-size: 20px;
}

.maya-topbar-title {
    min-width: 0;
    flex: 1;

    display: flex;
    align-items: center;

    gap: 9px;
}

.maya-topbar-logo {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #fff0f7;

    font-size: 17px;
}

.maya-topbar-title strong {
    display: block;

    color: var(--maya-text);

    font-size: 12px;
    font-weight: 850;
}

.maya-topbar-title span {
    display: block;

    margin-top: 1px;

    color: var(--maya-muted);

    font-size: 8px;
}

.maya-topbar-setting {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fff0f7;

    color: var(--maya-pink);

    text-decoration: none;

    font-size: 15px;
}


/* =========================================================
   DESKTOP CONTENT OFFSET
   ========================================================= */

@media (min-width: 992px) {

    body {
        padding-left: 270px;
    }

    .maya-sidebar {
        display: flex;
    }

}


/* =========================================================
   MOBILE DRAWER
   ========================================================= */

@media (max-width: 991px) {

    body {
        padding-left: 0;
    }

    .maya-sidebar {
        width: min(290px, 86vw);

        transform: translateX(-105%);

        box-shadow:
            15px 0 45px rgba(50,20,35,.18);
    }

    .maya-sidebar.show {
        transform: translateX(0);
    }

    .maya-sidebar-close {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .maya-global-topbar {
        display: flex;
    }

}


/* =========================================================
   IPHONE / ANDROID SAFE AREA
   ========================================================= */

@supports (padding: env(safe-area-inset-top)) {

    .maya-global-topbar {
        height: calc(
            64px + env(safe-area-inset-top)
        );

        padding-top:
            env(safe-area-inset-top);
    }

    .maya-sidebar {
        padding-top:
            env(safe-area-inset-top);
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .maya-global-topbar {
        padding-left: 11px;
        padding-right: 11px;
    }

    .maya-menu-toggle {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .maya-topbar-setting {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

}


/* =========================================================
   MAYA DAVIN GLOBAL BOTTOM NAVIGATION
   ========================================================= */

.maya-bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1050;

    display: flex;
    align-items: stretch;
    justify-content: space-around;

    height: 68px;

    padding:
        6px
        8px
        max(6px, env(safe-area-inset-bottom));

    box-sizing: border-box;

    background: rgba(255,255,255,.97);

    border-top: 1px solid #f3dce8;

    box-shadow:
        0 -8px 30px rgba(70,20,45,.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.maya-bottom-item {
    position: relative;

    width: 25%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2px;

    border-radius: 15px;

    color: #a08d96;

    text-decoration: none;

    -webkit-tap-highlight-color: transparent;

    transition:
        color .18s ease,
        transform .18s ease;
}


.maya-bottom-icon {
    width: 36px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 17px;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


.maya-bottom-label {
    display: block;

    max-width: 100%;

    overflow: hidden;

    color: inherit;

    font-size: 8px;
    line-height: 1.1;

    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   ACTIVE
   ========================================================= */

.maya-bottom-item.active {
    color: #ff4fa3;
}


.maya-bottom-item.active .maya-bottom-icon {
    background: #fff0f7;

    color: #ff4fa3;

    box-shadow:
        0 5px 14px rgba(255,79,163,.10);

    transform: translateY(-1px);
}


.maya-bottom-item.active::before {
    content: "";

    position: absolute;

    top: -6px;

    width: 22px;
    height: 3px;

    border-radius: 0 0 6px 6px;

    background: #ff4fa3;
}


/* =========================================================
   PRESS EFFECT
   ========================================================= */

.maya-bottom-item:active {
    transform: scale(.94);
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .maya-bottom-nav {
        display: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    body {
        padding-bottom: 74px !important;
    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 360px) {

    .maya-bottom-nav {
        height: 65px;

        padding-left: 4px;
        padding-right: 4px;
    }

    .maya-bottom-icon {
        width: 34px;
        height: 28px;

        font-size: 16px;
    }

    .maya-bottom-label {
        font-size: 7px;
    }

}


/* =========================================================
   IPHONE SAFE AREA
   ========================================================= */

@supports (padding: env(safe-area-inset-bottom)) {

    .maya-bottom-nav {
        padding-bottom:
            calc(
                6px + env(safe-area-inset-bottom)
            );

        height:
            calc(
                68px + env(safe-area-inset-bottom)
            );
    }

    @media (max-width: 991px) {

        body {
            padding-bottom:
                calc(
                    74px + env(safe-area-inset-bottom)
                ) !important;
        }

    }

}


/* =========================================================
   MAYA DAVIN - SINGLE GLOBAL TOPBAR
   ========================================================= */

.maya-global-topbar {
    position: sticky !important;

    top: 0 !important;

    z-index: 1000 !important;

    width: 100% !important;

    height: 64px !important;

    box-sizing: border-box !important;

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    padding: 0 15px !important;

    background: rgba(255,255,255,.97) !important;

    border-bottom: 1px solid #f3dce8 !important;

    box-shadow:
        0 4px 20px rgba(70,20,45,.045) !important;

    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}


/* HAMBURGER */

.maya-menu-toggle {
    width: 42px !important;
    height: 42px !important;

    flex: 0 0 42px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 13px !important;

    background: #fff0f7 !important;

    color: #ff4fa3 !important;

    font-size: 19px !important;
}


/* TITLE */

.maya-topbar-title {
    min-width: 0 !important;

    flex: 1 !important;

    display: flex !important;

    align-items: center !important;

    gap: 9px !important;

    color: inherit !important;

    text-decoration: none !important;
}

.maya-topbar-logo {
    width: 36px !important;
    height: 36px !important;

    flex: 0 0 36px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 12px !important;

    background: #fff0f7 !important;

    font-size: 17px !important;
}

.maya-topbar-title strong {
    display: block !important;

    margin: 0 !important;

    color: #35252d !important;

    font-size: 13px !important;

    line-height: 1.2 !important;

    font-weight: 850 !important;
}

.maya-topbar-title span {
    display: block !important;

    margin-top: 2px !important;

    color: #a18e97 !important;

    font-size: 8px !important;

    line-height: 1.2 !important;
}


/* SETTING */

.maya-topbar-setting {
    width: 41px !important;
    height: 41px !important;

    flex: 0 0 41px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 13px !important;

    background: #fff0f7 !important;

    color: #ff4fa3 !important;

    text-decoration: none !important;

    font-size: 15px !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .maya-global-topbar {
        display: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .maya-global-topbar {
        display: flex !important;
    }

}


/* =========================================================
   SAFE AREA IPHONE
   ========================================================= */

@supports (padding: env(safe-area-inset-top)) {

    @media (max-width: 991px) {

        .maya-global-topbar {
            height:
                calc(
                    64px + env(safe-area-inset-top)
                ) !important;

            padding-top:
                env(safe-area-inset-top) !important;
        }

    }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .maya-global-topbar {
        padding-left: 11px !important;
        padding-right: 11px !important;
    }

    .maya-menu-toggle {
        width: 40px !important;
        height: 40px !important;

        flex-basis: 40px !important;
    }

    .maya-topbar-setting {
        width: 39px !important;
        height: 39px !important;

        flex-basis: 39px !important;
    }

}


/* =========================================================
   FINAL SINGLE NAVBAR PROTECTION
   ========================================================= */

/* Global navbar */
.maya-global-topbar {
    position: sticky !important;
}

/* Sidebar and bottom navigation remain visible */
.maya-sidebar {
    z-index: 1200 !important;
}

.maya-bottom-nav {
    z-index: 1050 !important;
}


/* Prevent old common navbar containers */
body > header:not(.maya-global-topbar),
body > .header:not(.maya-global-topbar),
body > .navbar:not(.maya-global-topbar),
body > .topbar:not(.maya-global-topbar),
body > .app-header:not(.maya-global-topbar),
body > .main-header:not(.maya-global-topbar) {
    display: none !important;
}


/* Desktop */
@media (min-width: 992px) {

    .maya-global-topbar {
        display: none !important;
    }

}


/* Mobile */
@media (max-width: 991px) {

    .maya-global-topbar {
        display: flex !important;
    }

}

