/* =========================================================
   WATERALL CUSTOMER ACCOUNT PAGE
========================================================= */

.account-page {
    min-height: 70vh;
    padding: 56px 20px 80px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(24, 175, 222, 0.09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8fcff 0%,
            #eaf6fd 100%
        );
}


/* =========================================================
   HERO
========================================================= */

.account-hero {
    width: 100%;
    max-width: 1280px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin: 0 auto 28px;
    padding: 34px 38px;

    background: #ffffff;

    border: 1px solid #dbe8f1;
    border-radius: 22px;

    box-shadow:
        0 18px 50px rgba(7, 47, 78, 0.08);
}

.account-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #0a92c3;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.account-hero h1 {
    margin: 0 0 8px;

    color: #071b34;

    font-family: "Inter", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
}

.account-hero p {
    margin: 0;

    color: #6a7d8e;

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

.account-user-card {
    min-width: 300px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 17px 20px;

    background: #f6fbff;

    border: 1px solid #dce9f2;
    border-radius: 15px;
}

.account-user-avatar {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

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

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0b4168,
        #11a7d4
    );

    border-radius: 50%;

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

.account-user-card > div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.account-user-card strong {
    color: #0b223b;

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

.account-user-card span {
    overflow: hidden;

    color: #718396;

    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   CONTENT GRID
========================================================= */

.account-content {
    width: 100%;
    max-width: 1280px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin: 0 auto;    
}

.account-card {
    align-self: start;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dbe8f1;
    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(7, 47, 78, 0.07);
}

.account-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 24px 26px;

    background: #fbfdff;

    border-bottom: 1px solid #e2ebf2;
}

.account-card-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

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

    color: #0b91c2;
    background: #e6f6fc;

    border-radius: 12px;

    font-size: 17px;
}

.account-card-heading h2 {
    margin: 0 0 4px;

    color: #0b213b;

    font-family: "Inter", sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.account-card-heading p {
    margin: 0;

    color: #718396;

    font-size: 13px;
    line-height: 1.5;
}

.account-card-body {
    padding: 26px;
}


/* =========================================================
   DEFAULT BREEZE FORM STYLES
========================================================= */

.account-card-body section {
    width: 100%;
}

.account-card-body header {
    margin-bottom: 20px;
}

.account-card-body header h2 {
    margin: 0 0 6px;

    color: #0b213b;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.account-card-body header p {
    margin: 0;

    color: #758697;

    font-size: 13px;
    line-height: 1.55;
}

.account-card-body form {
    width: 100%;
}

.account-card-body form > div {
    margin-top: 18px;
}

.account-card-body form > div:first-child {
    margin-top: 0;
}

.account-card-body label {
    display: block;

    margin-bottom: 7px;

    color: #2c465d;

    font-size: 13px;
    font-weight: 700;
}

.account-card-body input[type="text"],
.account-card-body input[type="email"],
.account-card-body input[type="password"] {
    width: 100%;
    min-height: 48px;

    padding: 11px 13px;

    color: #21394d;
    background: #fbfdff;

    border: 1px solid #cfdde7;
    border-radius: 10px;

    font-family: "Inter", sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.account-card-body input:focus {
    background: #ffffff;

    border-color: #0b91c2;

    box-shadow:
        0 0 0 4px rgba(11, 145, 194, 0.1);
}

.account-card-body button,
.account-card-body .inline-flex {
    min-height: 44px;

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

    padding: 10px 20px;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #082e52,
        #0878aa
    );

    border: none;
    border-radius: 9px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(7, 78, 119, 0.17);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.account-card-body button:hover,
.account-card-body .inline-flex:hover {
    transform: translateY(-1px);

    background: linear-gradient(
        135deg,
        #061f3b,
        #0b96ca
    );

    box-shadow:
        0 12px 24px rgba(7, 78, 119, 0.22);
}

.account-card-body p.text-sm,
.account-card-body .text-sm {
    font-size: 12px;
}

.account-card-body .text-red-600,
.account-card-body .text-red-500 {
    color: #c92e45 !important;
}

.account-card-body .text-green-600 {
    color: #087454 !important;
}


/* =========================================================
   DANGER CARD
========================================================= */

.account-danger-card {
    grid-column: 1 / -1;
}

.account-danger-icon {
    color: #ca3148;
    background: #fff0f3;
}

.account-danger-card .account-card-body button {
    background: #d92f48;

    box-shadow:
        0 8px 18px rgba(181, 35, 57, 0.17);
}

.account-danger-card .account-card-body button:hover {
    background: #bd2038;
}


/* =========================================================
   MODAL FROM DELETE USER FORM
========================================================= */

.account-card-body [role="dialog"] {
    z-index: 9999;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .account-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-user-card {
        width: 100%;
        min-width: 0;
    }

    .account-content {
        grid-template-columns: 1fr;
    }

    .account-danger-card {
        grid-column: auto;
    }
}

@media (max-width: 600px) {

    .account-page {
        padding: 24px 12px 55px;
    }

    .account-hero {
        padding: 24px 20px;

        border-radius: 17px;
    }

    .account-hero h1 {
        font-size: 34px;
    }

    .account-card {
        border-radius: 16px;
    }

    .account-card-heading,
    .account-card-body {
        padding: 20px 17px;
    }

    .account-card-heading {
        align-items: flex-start;
    }
}



/* =========================================================
   ACCOUNT PROFILE FORM GRID
========================================================= */

.account-profile-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.account-profile-form > div {
    margin-top: 0 !important;
}

.account-form-group {
    min-width: 0;
}

.account-form-full {
    grid-column: 1 / -1;
}

.account-select {
    width: 100%;
    min-height: 48px;

    padding: 11px 40px 11px 13px;

    color: #21394d;
    background-color: #fbfdff;

    border: 1px solid #cfdde7;
    border-radius: 10px;

    font-family: "Inter", sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.account-select:focus {
    background-color: #ffffff;
    border-color: #0b91c2;

    box-shadow:
        0 0 0 4px rgba(11, 145, 194, 0.1);
}

.account-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 4px !important;
}

.account-verification-notice {
    margin-top: 10px;

    color: #72500d;
    background: #fff8e5;

    border: 1px solid #efd99b;
    border-radius: 9px;

    padding: 11px 13px;

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

.account-verification-notice p {
    margin: 0;
}

.account-verification-link {
    min-height: auto !important;

    display: inline !important;

    padding: 0 !important;

    color: #087ea9 !important;
    background: transparent !important;

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

    box-shadow: none !important;

    font-size: 12px !important;
    text-decoration: underline;
}

.account-success-message {
    margin: 0;

    color: #087454;

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

@media (max-width: 600px) {

    .account-profile-form {
        grid-template-columns: 1fr;
    }

    .account-form-full {
        grid-column: auto;
    }

    .account-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}