
/* ==================================================
   MONBAST MAIL - PREMIUM BLUE DESIGN
   Full Responsive CSS
   Laravel email functionality preserved
================================================== */

body.homepage {
    --mb-primary: #1769e0;
    --mb-primary-dark: #1047a3;
    --mb-secondary: #3988f2;
    --mb-light: #edf4ff;
    --mb-background: #f5f8fd;
    --mb-text: #17243b;
    --mb-muted: #64748b;
    --mb-border: #dce6f4;

    background: var(--mb-background);
    color: var(--mb-text);
    overflow-x: hidden;
}

/* HEADER */

body.homepage .homepage-header {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 70px !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(130,190,255,.3), transparent 30%),
        linear-gradient(135deg, #103775 0%, #1769e0 55%, #3988f2 100%) !important;
}

body.homepage .homepage-blue-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 100px;
    right: -180px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

body.homepage .homepage-header .custom-shape-divider-bottom-1696181426 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 65px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

body.homepage .homepage-header .custom-shape-divider-bottom-1696181426 svg {
    width: 100%;
    height: 65px;
    display: block;
}

body.homepage .homepage-header .shape-fill {
    fill: var(--mb-background) !important;
}

body.homepage .homepage-header nav,
body.homepage .homepage-header .navbar {
    position: relative;
    z-index: 5;
}

/* HERO */

body.homepage .header-wrapper {
    position: relative;
    z-index: 2;
    height: auto !important;
    min-height: 0 !important;
    padding: 45px 15px 20px !important;
}

body.homepage .header-title {
    max-width: 850px;
    margin: 0 auto 18px !important;
    color: #fff !important;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
}

body.homepage .header-text {
    max-width: 720px;
    margin: 15px auto !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

/* EMAIL GENERATOR */

body.homepage .mail-wrapper {
    position: relative;
    z-index: 3;
    width: calc(100% - 30px);
    max-width: 790px;
    margin: 30px auto 20px !important;
    padding: 18px !important;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 20px;
    background: rgba(255,255,255,.13);
    box-shadow: 0 18px 45px rgba(5,28,76,.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.homepage .mail-selection {
    width: 100%;
    margin: 0 !important;
}

body.homepage .mail-select,
body.homepage .mail-input {
    width: 100%;
}

body.homepage .mail-input {
    display: flex;
    align-items: stretch;
    min-height: 62px;
    overflow: hidden;
    border: 1px solid #e1e9f5;
    border-radius: 13px;
    background: #fff;
}

body.homepage .mail-input input#mainEmail {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 62px;
    padding: 10px 17px;
    border: 0 !important;
    outline: 0;
    background: #fff !important;
    color: #17243b !important;
    font-size: 17px;
    font-weight: 600;
    box-shadow: none !important;
}

body.homepage .mail-input-copy {
    flex: 0 0 76px;
    width: 76px;
    min-width: 76px;
    height: 62px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--mb-primary) !important;
    color: #fff !important;
    font-size: 20px;
}

body.homepage .mail-input-copy:hover {
    background: var(--mb-primary-dark) !important;
}

/* ACTION BUTTONS */

body.homepage .mail-actions {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    margin: 12px 0 0 !important;
}

body.homepage .mail-actions .mail-action {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    margin: 0 !important;
    padding: 8px 3px !important;
    border: 1px solid #e3ebf7 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1c2b43 !important;
    box-shadow: 0 4px 12px rgba(12,45,94,.07);
    transition: .2s ease;
}

body.homepage .mail-actions .mail-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(12,45,94,.12);
}

body.homepage .mail-actions .mail-action:disabled {
    opacity: .65;
}

body.homepage .mail-actions .mail-action i {
    margin: 0 !important;
    color: var(--mb-primary);
    font-size: 17px;
}

body.homepage .mail-actions .mail-action-text {
    display: block !important;
    margin: 0;
    color: #26364f;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
}

/* STATISTICS */

body.homepage .header-counters {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 25px auto 0 !important;
}

body.homepage .header-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    padding: 22px 25px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 17px;
    background: rgba(8,39,99,.35);
    box-shadow: 0 12px 28px rgba(5,28,76,.13);
}

body.homepage .header-counter-number {
    margin: 0 0 7px !important;
    color: #fff !important;
    font-size: 32px;
    font-weight: 800;
}

body.homepage .header-counter-title {
    margin: 0 !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

body.homepage .header-counter-icon {
    color: #fff;
    font-size: 45px;
}

/* HOMEPAGE ADS */

body.homepage .homepage-ad {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 970px;
    min-height: 90px;
    margin: 20px auto;
    padding: 8px 10px;
    clear: both;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

body.homepage .homepage-ad ins.adsbygoogle {
    display: block !important;
    width: 100%;
    margin: auto;
}

body.homepage .homepage-ad iframe {
    max-width: 100%;
}

/* MAILBOX */

body.homepage .homepage-mailbox-section {
    position: relative;
    z-index: 2;
    padding: 35px 0 45px !important;
    background: var(--mb-background);
}

body.homepage .homepage-mailbox-section .mailbox-container {
    display: block;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

body.homepage .homepage-mailbox-section .mail-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

body.homepage .homepage-mailbox-section .mailbox {
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--mb-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20,54,100,.07);
}

body.homepage .homepage-mailbox-section .mailbox-header {
    min-height: 68px;
    padding: 18px 22px;
    background: var(--mb-primary);
    color: #fff;
}

body.homepage .homepage-mailbox-section .mailbox-header p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

body.homepage .homepage-mailbox-section .mailbox-body {
    min-height: 315px;
    padding: 25px 15px;
    background: #fff;
}

body.homepage .homepage-mailbox-section .mailbox-body .empty {
    text-align: center;
}

body.homepage .homepage-mailbox-section .mailbox-body .empty h2 {
    color: var(--mb-text);
    font-size: 23px;
    font-weight: 700;
}

body.homepage .homepage-mailbox-section .mailbox-body .empty p {
    color: var(--mb-muted) !important;
}

/* OTHER HOMEPAGE SECTIONS */

body.homepage .homepage-content-section {
    padding: 45px 0;
    background: #fff;
}

/* MOBILE RESPONSIVE */

@media (max-width: 767px) {

    body.homepage .homepage-header {
        padding-bottom: 22px !important;
        margin-bottom: 0 !important;
    }

    body.homepage .header-wrapper {
        padding: 28px 10px 12px !important;
    }

    body.homepage .header-title {
        font-size: 31px;
        line-height: 1.25;
    }

    body.homepage .header-text {
        padding: 0 8px;
        font-size: 14px;
        line-height: 1.65;
    }

    body.homepage .mail-wrapper {
        width: calc(100% - 18px);
        margin: 22px auto 15px !important;
        padding: 12px !important;
        border-radius: 16px;
    }

    body.homepage .mail-input,
    body.homepage .mail-input input#mainEmail,
    body.homepage .mail-input-copy {
        height: 54px;
        min-height: 54px;
    }

    body.homepage .mail-input input#mainEmail {
        padding: 8px 11px;
        font-size: 14px;
    }

    body.homepage .mail-input-copy {
        flex-basis: 62px;
        width: 62px;
        min-width: 62px;
        font-size: 18px;
    }

    body.homepage .mail-actions {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
        margin-top: 9px !important;
    }

    body.homepage .mail-actions .mail-action {
        min-height: 49px;
        padding: 5px 1px !important;
        border-radius: 9px !important;
        gap: 4px;
    }

    body.homepage .mail-actions .mail-action i {
        font-size: 14px;
    }

    body.homepage .mail-actions .mail-action-text {
        font-size: 8px;
    }

    body.homepage .header-counters {
        margin-top: 17px !important;
        margin-bottom: 12px !important;
        padding: 0 7px;
    }

    body.homepage .header-counter {
        min-height: 88px;
        padding: 15px 17px;
        border-radius: 14px;
    }

    body.homepage .header-counter-number {
        font-size: 27px;
    }

    body.homepage .header-counter-title {
        font-size: 11px;
    }

    body.homepage .header-counter-icon {
        font-size: 34px;
    }

    body.homepage .homepage-header
    .custom-shape-divider-bottom-1696181426,
    body.homepage .homepage-header
    .custom-shape-divider-bottom-1696181426 svg {
        height: 42px !important;
    }

    body.homepage .homepage-ad {
        min-height: 0 !important;
        margin: 10px auto !important;
        padding: 5px;
    }

    body.homepage .homepage-mailbox-section {
        padding: 12px 0 18px !important;
        margin-top: 0 !important;
    }

    body.homepage .homepage-mailbox-section .mailbox {
        min-height: 0 !important;
        height: auto !important;
        border-radius: 14px;
    }

    body.homepage .homepage-mailbox-section .mailbox-header {
        min-height: 56px;
        padding: 15px 12px;
    }

    body.homepage .homepage-mailbox-section .mailbox-header p {
        font-size: 11px;
    }

    body.homepage .homepage-mailbox-section .mailbox-body {
        min-height: 205px !important;
        height: auto !important;
        padding: 18px 12px !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body > .empty {
        min-height: 175px !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body .empty-icon {
        margin-bottom: 8px !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body .empty-icon svg {
        width: 70px !important;
        height: auto !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body .empty h2 {
        margin-top: 7px !important;
        margin-bottom: 5px !important;
        font-size: 19px !important;
        line-height: 1.35 !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body .empty p {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    body.homepage .homepage-content-section {
        padding: 28px 0;
    }

    /* Inner pages and blog typography */

    body.inner-page .section p,
    body.inner-page .card-text,
    body.inner-page .lead {
        font-size: 17px !important;
        line-height: 1.7 !important;
    }

    body.inner-page .section h1,
    body.inner-page .section h2,
    body.inner-page .section h3,
    body.inner-page .card-title {
        line-height: 1.3 !important;
    }

    body.inner-page .card-title {
        font-size: 23px !important;
    }

    body.inner-page .section .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* VERY SMALL PHONES */

@media (max-width: 380px) {

    body.homepage .header-title {
        font-size: 27px;
    }

    body.homepage .mail-actions {
        gap: 3px;
    }

    body.homepage .mail-actions .mail-action-text {
        font-size: 7px;
    }

    body.homepage .mail-input-copy {
        flex-basis: 54px;
        width: 54px;
        min-width: 54px;
    }

    body.homepage .homepage-mailbox-section .mailbox-body {
        min-height: 185px !important;
    }

    body.homepage .homepage-mailbox-section .mailbox-body > .empty {
        min-height: 155px !important;
    }

    body.inner-page .section p,
    body.inner-page .card-text,
    body.inner-page .lead {
        font-size: 16px !important;
    }

    body.inner-page .card-title {
        font-size: 21px !important;
    }
}

/* RTL SUPPORT */

[dir="rtl"] body.homepage .mail-actions {
    direction: rtl;
}

[dir="rtl"] body.homepage .mailbox-header {
    direction: rtl;
}
