/* =========================================================
   WEBPANDA ACCOUNT
   Account Details and shared Account sidebar.
   ========================================================= */

/* =========================================================
   WEBPANDA ACCOUNT DETAILS
   ========================================================= */

.webpanda-account-details-page {
    padding: 46px 0 72px;
}

/* =========================================================
   Alerts
   ========================================================= */

.webpanda-account-alert {
    margin-bottom: 20px;
}

/* =========================================================
   Hero
   ========================================================= */

.webpanda-account-details-hero {
    margin-bottom: 30px;
    padding: 34px 36px;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(141, 210, 0, 0.14),
            transparent 32%
        ),
        #111418;
    border-radius: 17px;
}

.webpanda-account-details-hero-copy {
    max-width: 700px;
}

.webpanda-account-details-hero .webpanda-eyebrow {
    margin-bottom: 10px;
}

.webpanda-account-details-hero h1 {
    margin: 0 0 9px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.webpanda-account-details-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.60);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   Card
   ========================================================= */

.webpanda-account-details-card {
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--wp-border);
    border-radius: 15px;
    box-shadow:
        0 10px 28px rgba(17, 20, 24, 0.05);
}

/* =========================================================
   Card Heading
   ========================================================= */

.webpanda-account-details-card-heading {
    padding: 19px 21px;
    border-bottom: 1px solid #EEF0F2;
}

.webpanda-account-details-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.webpanda-account-details-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: rgba(141, 210, 0, 0.11);
    color: var(--wp-green);
    border-radius: 9px;
    font-size: 12px;
}

.webpanda-account-details-card-icon > i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.webpanda-account-details-card-title h2 {
    margin: 0 0 2px;
    color: #24282E;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.webpanda-account-details-card-title span {
    display: block;
    color: #9299A0;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
}

/* =========================================================
   Card Body
   ========================================================= */

.webpanda-account-details-card-body {
    padding: 28px;
}

/* =========================================================
   Sections
   ========================================================= */

.webpanda-account-form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #EEF0F2;
}

.webpanda-account-form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.webpanda-account-form-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: rgba(141, 210, 0, 0.11);
    color: #619000;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
}

.webpanda-account-form-section-heading h3 {
    margin: 0 0 3px;
    color: #24282E;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.webpanda-account-form-section-heading p {
    margin: 0;
    color: #899098;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.5;
}

/* =========================================================
   Form Grid
   ========================================================= */

.webpanda-account-form-grid {
    display: grid;
    gap: 18px;
}

.webpanda-account-form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.webpanda-account-form-span-two {
    grid-column: 1 / -1;
}

/* =========================================================
   Form Groups
   ========================================================= */

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

.webpanda-account-form-group label {
    display: block;
    margin: 0 0 8px;
    color: #3B4147;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
}

/* =========================================================
   Inputs
   ========================================================= */

.webpanda-account-details-page .form-control {
    min-height: 43px;
    background: #F8F9FA;
    color: #30353A;
    border: 1px solid #DDE1E4;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.webpanda-account-details-page .form-control:focus {
    background: #FFFFFF;
    border-color: var(--wp-green);
    box-shadow:
        0 0 0 3px rgba(141, 210, 0, 0.10) !important;
}

.webpanda-account-details-page .form-control:disabled {
    background: #F0F2F3;
    color: #858C94;
    opacity: 1;
    cursor: not-allowed;
}

/* Icon Inputs */

.webpanda-account-input-wrap {
    position: relative;
}

.webpanda-account-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    z-index: 2;
    color: #A0A6AC;
    font-size: 10px;
    pointer-events: none;
}

.webpanda-account-input-wrap .form-control {
    padding-left: 39px;
}

/* =========================================================
   Selects
   ========================================================= */

.webpanda-account-details-page select.form-control,
.webpanda-account-details-page .custom-select {
    height: 43px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #F8F9FA;
}

/* Country dropdown generated by WHMCS */

.webpanda-account-details-page #country {
    width: 100%;
}

/* =========================================================
   Phone Field
   ========================================================= */

.webpanda-account-details-page .iti {
    width: 100%;
}

.webpanda-account-details-page .iti input {
    width: 100%;
}

/* =========================================================
   Custom Fields
   ========================================================= */

.webpanda-account-custom-field input,
.webpanda-account-custom-field select,
.webpanda-account-custom-field textarea {
    width: 100%;
}

.webpanda-account-field-help {
    margin-top: 6px;
    color: #9299A0;
    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    line-height: 1.5;
}

/* =========================================================
   Email Preferences
   ========================================================= */

.webpanda-account-email-preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.webpanda-account-email-option {
    position: relative;
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    min-height: 58px;
    margin: 0 !important;
    padding: 13px 14px;
    background: #F9FAFA;
    color: #4D555D;
    border: 1px solid #E2E5E8;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.5;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.webpanda-account-email-option:hover {
    background: #FFFFFF;
    border-color: rgba(141, 210, 0, 0.45);
}

/* Hide native checkbox */

.webpanda-account-email-option
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Custom Check */

.webpanda-account-email-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    background: #FFFFFF;
    color: transparent;
    border: 1px solid #D6DADD;
    border-radius: 6px;
    font-size: 8px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.webpanda-account-email-option
input[type="checkbox"]:checked
+ .webpanda-account-email-check {
    background: var(--wp-green);
    color: #111418;
    border-color: var(--wp-green);
}

.webpanda-account-email-copy {
    flex: 1;
    min-width: 0;
}

/* =========================================================
   Marketing
   ========================================================= */

.webpanda-account-marketing-toggle {
    padding-left: 4px;
}

/* =========================================================
   Actions
   ========================================================= */

.webpanda-account-details-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

/* Cancel */

.webpanda-account-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    background: #FFFFFF;
    color: #5E666E;
    border: 1px solid #DDE1E4;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* Save */

.webpanda-account-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: var(--wp-green);
    color: #111418;
    border: 1px solid var(--wp-green);
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.webpanda-account-save-button:hover,
.webpanda-account-save-button:focus {
    background: var(--wp-green-hover);
    border-color: var(--wp-green-hover);
    transform: translateY(-1px);
    outline: none;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
    .webpanda-account-email-preferences {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .webpanda-account-details-page {
        padding: 32px 0 52px;
    }
    .webpanda-account-details-hero {
        padding: 28px 24px;
    }
    .webpanda-account-details-hero h1 {
        font-size: 28px;
    }
    .webpanda-account-details-card-body {
        padding: 22px 18px;
    }
    .webpanda-account-form-grid-two {
        grid-template-columns: 1fr;
    }
    .webpanda-account-form-span-two {
        grid-column: auto;
    }
    .webpanda-account-form-section {
        margin-bottom: 27px;
        padding-bottom: 27px;
    }
    .webpanda-account-details-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .webpanda-account-cancel-button,
    .webpanda-account-save-button {
        width: 100%;
    }
}

/* =========================================================
   WEBPANDA ACCOUNT SIDEBAR
   ========================================================= */

.card-sidebar[menuItemName="Account"] {
    overflow: hidden;
    margin-bottom: 18px !important;
    background: #FFFFFF;
    border: 1px solid var(--wp-border) !important;
    border-radius: 13px !important;
    box-shadow:
        0 8px 24px rgba(17, 20, 24, 0.04);
}

/* =========================================================
   Header
   ========================================================= */

.card-sidebar[menuItemName="Account"] .card-header {
    padding: 13px 14px;
    background: #FFFFFF !important;
    border: 0 !important;
    border-bottom: 1px solid #EEF0F2 !important;
}

.card-sidebar[menuItemName="Account"] .card-title {
    display: flex;
    align-items: center;
    margin: 0 !important;
    color: #24282E;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Account icon */

.card-sidebar[menuItemName="Account"]
.card-title > i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px !important;
    background: rgba(141, 210, 0, 0.11);
    color: var(--wp-green);
    border-radius: 7px;
    font-size: 10px;
}

/* Collapse arrow */

.card-sidebar[menuItemName="Account"]
.card-minimise {
    margin-left: auto;
    color: #A0A6AC;
    font-size: 9px;
}

/* =========================================================
   Navigation Items
   ========================================================= */

.card-sidebar[menuItemName="Account"]
.list-group-item {
    position: relative;
    padding: 11px 14px;
    background: #FFFFFF;
    color: #697179 !important;
    border: 0 !important;
    border-bottom: 1px solid #EEF0F2 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.card-sidebar[menuItemName="Account"]
.list-group-item:last-child {
    border-bottom: 0 !important;
}

/* Hover */

.card-sidebar[menuItemName="Account"]
.list-group-item:hover,
.card-sidebar[menuItemName="Account"]
.list-group-item:focus {
    background: #FAFCF7;
    color: #30353A !important;
    text-decoration: none !important;
}

/* =========================================================
   Active Item
   ========================================================= */

.card-sidebar[menuItemName="Account"]
.list-group-item.active {
    background: rgba(141, 210, 0, 0.10) !important;
    color: #4F7600 !important;
    border-color: #EEF0F2 !important;
    font-weight: 700;
}

.card-sidebar[menuItemName="Account"]
.list-group-item.active::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    width: 3px;
    background: var(--wp-green);
    border-radius: 0 3px 3px 0;
}

/* Remove Bootstrap's stock active-link styling */

.card-sidebar[menuItemName="Account"]
.list-group-item.active:hover,
.card-sidebar[menuItemName="Account"]
.list-group-item.active:focus {
    background: rgba(141, 210, 0, 0.14) !important;
    color: #4F7600 !important;
}

/* =========================================================
   Links / Icons
   ========================================================= */

.card-sidebar[menuItemName="Account"] a {
    text-decoration: none !important;
}

.card-sidebar[menuItemName="Account"]
.list-group-item i {
    width: 15px;
    margin-right: 5px;
    color: #A0A6AC;
    text-align: center;
}

.card-sidebar[menuItemName="Account"]
.list-group-item.active i {
    color: var(--wp-green);
}

/* =========================================================
   WEBPANDA CONTACTS
   Shared by account-contacts-new.tpl and
   account-contacts-manage.tpl.
   Reuses the Account Details form/card components above.
   ========================================================= */

/* =========================================================
   Hero
   ========================================================= */

.webpanda-contacts-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.webpanda-contacts-hero-copy {
    max-width: 670px;
}

.webpanda-contacts-hero-summary {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    min-width: 190px;
    max-width: 320px;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.webpanda-contacts-hero-summary-label {
    margin-bottom: 5px;
    color: var(--wp-green);
    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.webpanda-contacts-hero-summary strong {
    max-width: 100%;
    margin-bottom: 3px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
    overflow-wrap: anywhere;
}

.webpanda-contacts-hero-summary > span:last-child {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.53);
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.45;
    text-align: right;
    overflow-wrap: anywhere;
}

/* =========================================================
   Contact Switcher
   ========================================================= */

.webpanda-contact-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 18px 20px;
    background: #FFFFFF;
    border: 1px solid var(--wp-border);
    border-radius: 13px;
    box-shadow:
        0 8px 24px rgba(17, 20, 24, 0.035);
}

.webpanda-contact-switcher-copy {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.webpanda-contact-switcher-icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(141, 210, 0, 0.11);
    color: var(--wp-green);
    border-radius: 9px;
    font-size: 12px;
}

.webpanda-contact-switcher-copy > div:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.webpanda-contact-switcher-copy strong {
    margin-bottom: 2px;
    color: #30353A;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.webpanda-contact-switcher-copy span {
    color: #9299A0;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.45;
}

.webpanda-contact-switcher-form {
    display: grid;
    grid-template-columns: minmax(260px, 430px) auto;
    gap: 9px;
    flex: 0 1 540px;
    min-width: 0;
    margin: 0;
}

.webpanda-contact-switcher .form-control,
.webpanda-contact-switcher .custom-select {
    width: 100%;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #F8F9FA;
    color: #30353A;
    border: 1px solid #DDE1E4;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    box-shadow: none !important;
}

.webpanda-contact-switcher .form-control:focus,
.webpanda-contact-switcher .custom-select:focus {
    background-color: #FFFFFF;
    border-color: var(--wp-green);
    box-shadow:
        0 0 0 3px rgba(141, 210, 0, 0.10) !important;
}

.webpanda-contact-switcher-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 42px;
    padding: 0 15px;
    background: #FFFFFF;
    color: #596168;
    border: 1px solid #DDE1E4;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.webpanda-contact-switcher-button:hover,
.webpanda-contact-switcher-button:focus {
    background: #FAFCF7;
    color: #4D7700;
    border-color: rgba(141, 210, 0, 0.55);
    outline: none;
}

/* =========================================================
   Form
   ========================================================= */

.webpanda-contact-form-section-last {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Make WHMCS generated phone control follow the account form. */

.webpanda-contacts-page .iti {
    width: 100%;
}

.webpanda-contacts-page .iti input {
    width: 100%;
}

/* WHMCS generated country selector */

.webpanda-contacts-page #country {
    width: 100%;
}

/* =========================================================
   Form Actions
   ========================================================= */

.webpanda-contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 28px;
    background: #FAFBFB;
    border-top: 1px solid #EEF0F2;
}

.webpanda-contact-form-actions-new {
    justify-content: flex-end;
}

.webpanda-contact-delete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    background: #FFF8F8;
    color: #B94C56;
    border: 1px solid #E9D7D9;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.webpanda-contact-delete-button:hover,
.webpanda-contact-delete-button:focus {
    background: #FFF2F3;
    color: #9E313B;
    border-color: #DAABB0;
    outline: none;
}

/* =========================================================
   Delete Contact Modal
   ========================================================= */

.webpanda-contact-delete-modal {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow:
        0 20px 60px rgba(17, 20, 24, 0.20);
}

.webpanda-contact-delete-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 18px;
    background: #FFFFFF;
    border-bottom: 1px solid #ECEEEF;
}

.webpanda-contact-delete-modal .close {
    margin: -4px -3px 0 auto;
    color: #7A8187;
    opacity: 0.7;
}

.webpanda-contact-delete-modal-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #B94C56;
    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.webpanda-contact-delete-modal .modal-title {
    margin: 0;
    color: #252A2F;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.webpanda-contact-delete-modal .modal-body {
    padding: 25px;
}

.webpanda-contact-delete-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    background: #FFF0F1;
    color: #C54B56;
    border-radius: 10px;
    font-size: 14px;
}

.webpanda-contact-delete-modal .modal-body p {
    margin: 0 0 13px;
    color: #4A5157;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.65;
}

.webpanda-contact-delete-modal-contact {
    padding: 12px 13px;
    background: #FAFBFB;
    color: #30353A;
    border: 1px solid #E7EAEC;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.webpanda-contact-delete-modal-contact span {
    display: block;
    margin-top: 2px;
    color: #8A9096;
    font-size: 9px;
    font-weight: 500;
}

.webpanda-contact-delete-modal .modal-footer {
    gap: 8px;
    padding: 17px 24px;
    background: #FAFBFB;
    border-top: 1px solid #ECEEEF;
}

.webpanda-contact-delete-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    background: #C54B56;
    color: #FFFFFF;
    border: 1px solid #C54B56;
    border-radius: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.webpanda-contact-delete-confirm:hover,
.webpanda-contact-delete-confirm:focus {
    background: #AD3C46;
    border-color: #AD3C46;
    outline: none;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
    .webpanda-contacts-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .webpanda-contacts-hero-summary {
        align-items: flex-start;
        width: 100%;
        max-width: none;
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.11);
        border-left: 0;
    }

    .webpanda-contacts-hero-summary strong,
    .webpanda-contacts-hero-summary > span:last-child {
        text-align: left;
    }

    .webpanda-contact-switcher {
        align-items: flex-start;
        flex-direction: column;
    }

    .webpanda-contact-switcher-form {
        width: 100%;
        flex-basis: auto;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .webpanda-contact-switcher {
        padding: 16px;
    }

    .webpanda-contact-switcher-form {
        grid-template-columns: 1fr;
    }

    .webpanda-contact-switcher-button {
        width: 100%;
    }

    .webpanda-contact-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 18px;
    }

    .webpanda-contact-form-actions-new {
        align-items: stretch;
    }

    .webpanda-contact-form-actions
    .webpanda-account-details-actions {
        width: 100%;
    }

    .webpanda-contact-delete-button {
        width: 100%;
    }
}


/* =========================================================
   WEBPANDA ACCOUNT SECURITY
   clientareasecurity.tpl
   ========================================================= */


/* =========================================================
   Hero
   ========================================================= */

.webpanda-security-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 34px;
}

.webpanda-security-hero-copy {
    max-width: 680px;
}

.webpanda-security-hero-summary {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;

    min-width: 190px;
    max-width: 320px;

    padding-left: 28px;

    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.webpanda-security-hero-summary-label {
    margin-bottom: 5px;

    color: var(--wp-green);

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.webpanda-security-hero-summary strong {
    margin-bottom: 3px;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.webpanda-security-hero-summary strong.is-enabled {
    color: #A7E84A;
}

.webpanda-security-hero-summary strong.is-disabled {
    color: rgba(255, 255, 255, 0.65);
}

.webpanda-security-hero-summary > span:last-child {
    color: rgba(255, 255, 255, 0.53);

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.45;

    text-align: right;
}


/* =========================================================
   Explanation
   ========================================================= */

.webpanda-security-explanation {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 18px 20px;

    background: #F8FBF4;

    border: 1px solid #DFE6D6;
    border-radius: 11px;
}

.webpanda-security-explanation-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #EAF5D7;

    color: #669F0A;

    border-radius: 9px;

    font-size: 13px;
}

.webpanda-security-explanation > div:last-child {
    min-width: 0;
}

.webpanda-security-explanation strong {
    display: block;

    margin-bottom: 4px;

    color: #30353A;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.webpanda-security-explanation p {
    margin: 0;

    color: #747B81;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   SSO Toggle Card
   ========================================================= */

.webpanda-security-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 20px;

    background: #FAFBFB;

    border: 1px solid #E3E6E8;
    border-radius: 11px;
}

.webpanda-security-toggle-copy {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;
}

.webpanda-security-toggle-icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: rgba(141, 210, 0, 0.11);

    color: var(--wp-green);

    border-radius: 10px;

    font-size: 13px;
}

.webpanda-security-toggle-copy > div:last-child {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.webpanda-security-toggle-copy strong {
    margin-bottom: 3px;

    color: #30353A;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.webpanda-security-toggle-copy span {
    color: #858C94;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   Toggle Control
   ========================================================= */

.webpanda-security-toggle-control {
    display: flex;
    flex: 0 0 auto;
    align-items: center;

    gap: 12px;
}


/*
 * Keep WHMCS's native toggle-switch-success input intact.
 * WHMCS JS continues to control the SSO state.
 */

.webpanda-security-toggle-control
.toggle-switch-success {
    margin: 0;
}


/* =========================================================
   Security Notice
   ========================================================= */

.webpanda-security-warning {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 18px 20px;

    background: #FFF9F2;

    border: 1px solid #EEE1D2;
    border-radius: 11px;
}

.webpanda-security-warning-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #F8EAD9;

    color: #B17A39;

    border-radius: 9px;

    font-size: 13px;
}

.webpanda-security-warning > div:last-child {
    min-width: 0;
}

.webpanda-security-warning strong {
    display: block;

    margin-bottom: 4px;

    color: #403B35;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.webpanda-security-warning p {
    margin: 0;

    color: #7E746A;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.65;
}

.webpanda-security-section-last {
    margin-bottom: 0;
    padding-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

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

    .webpanda-security-hero-summary {
        align-items: flex-start;

        width: 100%;
        max-width: none;

        padding-top: 18px;
        padding-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.11);
        border-left: 0;
    }

    .webpanda-security-hero-summary > span:last-child {
        text-align: left;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .webpanda-security-toggle-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .webpanda-security-toggle-control {
        width: 100%;

        justify-content: space-between;

        padding-top: 14px;

        border-top: 1px solid #E7EAEC;
    }

}


/* =========================================================
   WEBPANDA EMAIL HISTORY
   clientareaemails.tpl
   ========================================================= */


/* =========================================================
   Hero
   ========================================================= */

.webpanda-email-history-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 34px;
}

.webpanda-email-history-hero-copy {
    max-width: 680px;
}

.webpanda-email-history-hero-summary {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;

    min-width: 190px;
    max-width: 320px;

    padding-left: 28px;

    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.webpanda-email-history-summary-label {
    margin-bottom: 5px;

    color: var(--wp-green);

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.webpanda-email-history-hero-summary strong {
    margin-bottom: 3px;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.webpanda-email-history-hero-summary > span:last-child {
    color: rgba(255, 255, 255, 0.53);

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.45;

    text-align: right;
}


/* =========================================================
   Table Area
   ========================================================= */

.webpanda-email-history-table-area {
    padding: 0;
}

.webpanda-email-history-table-container {
    margin: 0;
}


/* =========================================================
   DataTables Controls
   ========================================================= */

.webpanda-email-history-page
#tableEmailsList_wrapper {
    padding: 22px 26px 0;
}

.webpanda-email-history-page
#tableEmailsList_wrapper > .row:first-child {
    align-items: center;

    margin-bottom: 18px;
}

.webpanda-email-history-page
.dataTables_length,
.webpanda-email-history-page
.dataTables_filter,
.webpanda-email-history-page
.dataTables_info,
.webpanda-email-history-page
.dataTables_paginate {
    color: #7D858C;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
}


/* Search */

.webpanda-email-history-page
.dataTables_filter {
    margin-bottom: 14px;
    text-align: right;
}

.webpanda-email-history-page
.dataTables_filter label {
    position: relative;

    margin: 0;
}

.webpanda-email-history-page
.dataTables_filter input {
    width: 250px;
    height: 40px;

    margin-left: 0;
    padding: 0 14px;

    background: #F8F9FA;

    color: #30353A;

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

    font-family: "Montserrat", sans-serif;
    font-size: 10px;

    outline: none;

    box-shadow: none;
}

.webpanda-email-history-page
.dataTables_filter input:focus {
    background: #FFFFFF;

    border-color: var(--wp-green);

    box-shadow:
        0 0 0 3px rgba(141, 210, 0, 0.10);
}


/* Entries select */

.webpanda-email-history-page
.dataTables_length select {
    height: 36px;

    margin: 0 5px;
    padding: 0 28px 0 10px;

    background-color: #FFFFFF;

    color: #555D63;

    border: 1px solid #DDE1E4;
    border-radius: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;

    box-shadow: none;
}


/* =========================================================
   Email Table
   ========================================================= */

.webpanda-email-history-table {
    width: 100% !important;

    margin: 0 !important;

    border-collapse: collapse !important;
}


/* Header */

.webpanda-email-history-table thead th {
    padding: 13px 17px !important;

    background: #FAFBFB;

    color: #92999F;

    border-top: 1px solid #ECEEEF !important;
    border-bottom: 1px solid #E5E8EA !important;

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    vertical-align: middle;
}

.webpanda-email-history-table thead th:first-child {
    width: 30%;
}

.webpanda-email-history-table thead th:last-child {
    width: 145px;
}


/* Rows */

.webpanda-email-history-table tbody tr {
    background: #FFFFFF;

    cursor: pointer;

    transition:
        background-color 0.18s ease;
}

.webpanda-email-history-table tbody tr:hover {
    background: #FBFDF7;
}

.webpanda-email-history-table tbody td {
    padding: 15px 17px !important;

    color: #4D555C;

    border-top: 0 !important;
    border-bottom: 1px solid #ECEEEF !important;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;

    vertical-align: middle;
}

.webpanda-email-history-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


/* =========================================================
   Date
   ========================================================= */

.webpanda-email-history-date-inner {
    display: flex;
    align-items: center;

    gap: 9px;
}

.webpanda-email-history-date-icon {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: #F2F4F5;

    color: #92999F;

    border-radius: 8px;

    font-size: 10px;
}

.webpanda-email-history-date-inner > span:last-child {
    color: #686F75;

    line-height: 1.5;
}


/* =========================================================
   Subject
   ========================================================= */

.webpanda-email-history-subject-inner {
    display: flex;
    align-items: center;

    gap: 11px;
}

.webpanda-email-history-message-icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: rgba(141, 210, 0, 0.10);

    color: #6CAA00;

    border-radius: 9px;

    font-size: 11px;
}

.webpanda-email-history-subject-copy {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.webpanda-email-history-subject-copy strong {
    color: #30353A;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.webpanda-email-history-attachment {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    margin-top: 3px;

    color: #939AA0;

    font-size: 8px;
}


/* =========================================================
   View Message
   ========================================================= */

.webpanda-email-history-action {
    text-align: right;
}

.webpanda-email-history-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 36px;

    padding: 0 13px;

    background: #FFFFFF;

    color: #535B62;

    border: 1px solid #DCE1E4;
    border-radius: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.webpanda-email-history-view i {
    color: var(--wp-green);

    font-size: 8px;

    transition:
        transform 0.18s ease;
}

.webpanda-email-history-view:hover,
.webpanda-email-history-view:focus {
    background: #F8FCEE;

    color: #3F6500;

    border-color: rgba(141, 210, 0, 0.55);

    outline: none;
}

.webpanda-email-history-view:hover i {
    transform: translateX(2px);
}


/* =========================================================
   DataTables Bottom Controls
   ========================================================= */

.webpanda-email-history-page
#tableEmailsList_wrapper > .row:last-child {
    align-items: center;

    padding-top: 18px;
    padding-bottom: 22px;
}

.webpanda-email-history-page
.dataTables_info {
    padding-top: 0 !important;
}


/* Pagination */

.webpanda-email-history-page
.dataTables_paginate
.pagination {
    justify-content: flex-end;

    margin: 0;
}

.webpanda-email-history-page
.page-item
.page-link {
    min-width: 34px;
    height: 34px;

    padding: 0 9px;

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

    background: #FFFFFF;

    color: #626A71;

    border-color: #DDE1E4;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;

    box-shadow: none;
}

.webpanda-email-history-page
.page-item.active
.page-link {
    background: var(--wp-green);

    color: #111418;

    border-color: var(--wp-green);

    font-weight: 700;
}

.webpanda-email-history-page
.page-item:not(.active)
.page-link:hover {
    background: #F8FCEE;

    color: #4D7700;

    border-color: rgba(141, 210, 0, 0.55);
}

.webpanda-email-history-page
.page-item.disabled
.page-link {
    background: #F8F9FA;

    color: #AFB4B8;
}


/* =========================================================
   Loading
   ========================================================= */

.webpanda-email-history-loading {
    padding: 36px;

    color: #8A9096;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;

    text-align: center;
}

.webpanda-email-history-loading i {
    margin-right: 6px;

    color: var(--wp-green);
}


/* =========================================================
   Information Note
   ========================================================= */

.webpanda-email-history-note {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin-top: 20px;
    padding: 18px 20px;

    background: #F8FBF4;

    border: 1px solid #DFE6D6;
    border-radius: 13px;
}

.webpanda-email-history-note-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #EAF5D7;

    color: #669F0A;

    border-radius: 9px;

    font-size: 13px;
}

.webpanda-email-history-note h3 {
    margin: 1px 0 4px;

    color: #30353A;

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

.webpanda-email-history-note p {
    margin: 0;

    color: #747B81;

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


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .webpanda-email-history-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .webpanda-email-history-hero-summary {
        align-items: flex-start;

        width: 100%;
        max-width: none;

        padding-top: 18px;
        padding-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.11);
        border-left: 0;
    }

    .webpanda-email-history-hero-summary > span:last-child {
        text-align: left;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .webpanda-email-history-page
    #tableEmailsList_wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .webpanda-email-history-page
    #tableEmailsList_wrapper > .row:first-child {
        gap: 10px;
    }

    .webpanda-email-history-page
    .dataTables_filter,
    .webpanda-email-history-page
    .dataTables_filter label,
    .webpanda-email-history-page
    .dataTables_filter input {
        width: 100%;
    }

    .webpanda-email-history-table thead th:first-child {
        width: auto;
    }

    .webpanda-email-history-table thead th:last-child {
        width: 50px;
    }

    .webpanda-email-history-message-icon,
    .webpanda-email-history-date-icon {
        display: none;
    }

    .webpanda-email-history-view {
        width: 36px;

        padding: 0;
    }

    .webpanda-email-history-view span {
        display: none;
    }

    .webpanda-email-history-view i {
        font-size: 9px;
    }

    .webpanda-email-history-page
    #tableEmailsList_wrapper > .row:last-child {
        gap: 14px;
    }

    .webpanda-email-history-page
    .dataTables_info,
    .webpanda-email-history-page
    .dataTables_paginate {
        width: 100%;

        text-align: center;
    }

    .webpanda-email-history-page
    .dataTables_paginate
    .pagination {
        justify-content: center;
    }

}


/* =========================================================
   WEBPANDA EMAIL VIEWER
   viewemail.tpl
   ========================================================= */


/* =========================================================
   Popup Page
   ========================================================= */

#popup-backdrop {
    min-height: 100vh;

    margin: 0;

    background:
        radial-gradient(
            circle at 85% 0%,
            rgba(141, 210, 0, 0.06),
            transparent 30%
        ),
        #ECEFF1;
}

.webpanda-email-popup {
    display: flex;
    flex-direction: column;

    width: calc(100% - 28px);
    max-width: 1080px;

    min-height: calc(100vh - 28px);

    margin: 14px auto;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #DDE1E4;
    border-radius: 16px;

    box-shadow:
        0 18px 55px rgba(17, 20, 24, 0.12);
}


/* =========================================================
   Header
   ========================================================= */

.webpanda-email-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px 28px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(141, 210, 0, 0.13),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #111418 0%,
            #171D1A 100%
        );

    color: #FFFFFF;
}

.webpanda-email-popup-header-main {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;
}

.webpanda-email-popup-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    background: rgba(141, 210, 0, 0.12);

    color: var(--wp-green);

    border: 1px solid rgba(141, 210, 0, 0.18);
    border-radius: 11px;

    font-size: 17px;
}

.webpanda-email-popup-heading {
    min-width: 0;
}

.webpanda-email-popup-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--wp-green);

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.webpanda-email-popup-heading h1 {
    margin: 0;

    color: #FFFFFF;

    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: anywhere;
}


/* =========================================================
   Attachments
   ========================================================= */

.webpanda-email-popup-attachments {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;

    min-width: 180px;

    padding-left: 25px;

    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.webpanda-email-popup-attachments-label {
    margin-bottom: 7px;

    color: var(--wp-green);

    font-family: "Montserrat", sans-serif;
    font-size: 7px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.webpanda-email-popup-attachment-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 5px;
}

.webpanda-email-popup-attachment {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: rgba(255, 255, 255, 0.70);

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.4;
}

.webpanda-email-popup-attachment i {
    color: var(--wp-green);
}

.webpanda-email-popup-attachment-note {
    max-width: 220px;

    margin: 7px 0 0;

    color: rgba(255, 255, 255, 0.42);

    font-family: "Montserrat", sans-serif;
    font-size: 7px;
    font-weight: 400;
    line-height: 1.5;

    text-align: right;
}


/* =========================================================
   Message Area
   ========================================================= */

.webpanda-email-popup-message {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

    min-height: 0;

    padding: 22px;
}

.webpanda-email-popup-message-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.webpanda-email-popup-message-heading > div {
    display: flex;
    flex-direction: column;
}

.webpanda-email-popup-message-heading span {
    margin-bottom: 2px;

    color: #8A9298;

    font-family: "Montserrat", sans-serif;
    font-size: 7px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.webpanda-email-popup-message-heading strong {
    color: #30353A;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   Email Frame
   ========================================================= */

.webpanda-email-popup-frame-wrap {
    flex: 1 1 auto;

    min-height: 0;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #E1E4E7;
    border-radius: 10px;
}

.webpanda-email-popup-frame {
    display: block;

    width: 100%;

    height: calc(100vh - 265px);
    min-height: 320px;

    margin: 0;

    background: #FFFFFF;

    border: 0;
}


/* =========================================================
   Footer
   ========================================================= */

.webpanda-email-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 22px;

    background: #FAFBFB;

    border-top: 1px solid #E8EAEC;
}

.webpanda-email-popup-footer-note {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #91989E;

    font-family: "Montserrat", sans-serif;
    font-size: 8px;
}

.webpanda-email-popup-footer-note i {
    color: #A0A7AC;
}


/* =========================================================
   Close Button
   ========================================================= */

.webpanda-email-popup-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 39px;

    padding: 0 15px;

    background: #FFFFFF;

    color: #555D63;

    border: 1px solid #D9DEE2;
    border-radius: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.webpanda-email-popup-close:hover,
.webpanda-email-popup-close:focus {
    background: #F8FCEE;

    color: #4D7700;

    border-color: rgba(141, 210, 0, 0.55);

    outline: none;
}


/* =========================================================
   Tablet / Smaller Popup
   ========================================================= */

@media (max-width: 767px) {

    .webpanda-email-popup {
        width: calc(100% - 16px);

        min-height: calc(100vh - 16px);

        margin: 8px auto;

        border-radius: 12px;
    }

    .webpanda-email-popup-header {
        align-items: flex-start;
        flex-direction: column;

        padding: 21px;
    }

    .webpanda-email-popup-attachments {
        align-items: flex-start;

        width: 100%;
        min-width: 0;

        padding-top: 15px;
        padding-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.11);
        border-left: 0;
    }

    .webpanda-email-popup-attachment-list {
        align-items: flex-start;
    }

    .webpanda-email-popup-heading h1 {
        font-size: 18px;
    }

    .webpanda-email-popup-message {
        padding: 15px;
    }

    .webpanda-email-popup-frame {
        height: calc(100vh - 300px);
        min-height: 300px;
    }

    .webpanda-email-popup-footer {
        align-items: stretch;
        flex-direction: column;

        padding: 15px;
    }

    .webpanda-email-popup-close {
        width: 100%;
    }
    
    .webpanda-email-popup-attachment-note {
        max-width: none;
    
        text-align: left;
    }

}