/* ==========================================================================
   Mail10p Dark Glassmorphism Theme for TMail (Non-Commercial Edition)
   ========================================================================== */

html.m10p-html {
    font-size: 16px !important;
    scroll-behavior: smooth;
    background-color: #030712;
    color: #f3f4f6;
}

body.m10p-body,
body.m10p-body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.m10p-mono) {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.m10p-body h1,
body.m10p-body h2,
body.m10p-body h3,
body.m10p-body h4,
body.m10p-body h5,
body.m10p-body h6,
body.m10p-body h1 > *,
body.m10p-body h2 > *,
body.m10p-body h3 > * {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.m10p-body .m10p-mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

body.m10p-body {
    margin: 0;
    min-height: 100vh;
    background-color: #030712;
    color: #f3f4f6;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Canvas */
.m10p-canvas {
    position: fixed;
    inset: 0;
    z-index: -10;
    background-color: #030712;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    overflow: hidden;
}

.m10p-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(110px);
    opacity: 0.16;
    pointer-events: none;
}

.m10p-orb-blue {
    width: 440px;
    height: 440px;
    background: #3b82f6;
    top: -80px;
    left: 8%;
}

.m10p-orb-purple {
    width: 500px;
    height: 500px;
    background: #8b5cf6;
    top: 260px;
    right: 6%;
}

/* Sticky Header */
.m10p-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.75);
}

.m10p-topbar {
    background: #1a202c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    font-size: 12px;
    color: #9ca3af;
}

.m10p-container-wide {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.m10p-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.m10p-topbar-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m10p-topbar-notice strong {
    color: #ffffff;
    font-weight: 700;
}

.m10p-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.m10p-locale-select {
    background: #0f172a;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
}

.m10p-locale-select:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.m10p-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.m10p-admin-pill:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Brand Bar */
.m10p-brandbar {
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
}

.m10p-brandbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.m10p-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.m10p-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.m10p-logo-img {
    max-height: 36px;
    width: auto;
    display: block;
}

.m10p-logo-wordmark {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    align-items: baseline;
}

.m10p-logo-accent {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m10p-logo-tld {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-left: 2px;
}

.m10p-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 920px) {
    .m10p-trust-badges {
        display: none;
    }
}

.m10p-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
}

.m10p-brand-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m10p-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.m10p-social-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.m10p-api-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.m10p-api-btn:hover {
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(6, 182, 212, 0.5);
}

/* Navigation Bar */
.m10p-navbar {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 16px;
}

.m10p-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 12px;
}

.m10p-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.m10p-nav-desktop-items {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.m10p-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    white-space: nowrap;
}

.m10p-nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.04);
}

.m10p-nav-item.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: #3b82f6;
}

.m10p-nav-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    min-width: 220px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.8);
    z-index: 80;
}

.m10p-nav-dropdown a {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #d1d5db !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.m10p-nav-dropdown a:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff !important;
}

.m10p-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .m10p-nav-desktop-items {
        display: none;
    }
    .m10p-mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 600;
    }
    .m10p-topbar-notice span.m10p-hide-sm {
        display: none;
    }
}

.m10p-mobile-drawer {
    background: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 12px 14px;
}

.m10p-mobile-drawer a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #e5e7eb !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
}

.m10p-mobile-drawer a:hover {
    background: rgba(59, 130, 246, 0.12);
}

/* Main Content Container */
.m10p-main {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    flex: 1;
}

/* Hero Section */
.m10p-hero {
    text-align: center;
    margin-bottom: 24px;
}

.m10p-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.24);
    color: #10b981;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.m10p-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: m10pPulse 1.6s ease-in-out infinite;
}

@keyframes m10pPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.m10p-hero h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
}

@media (max-width: 640px) {
    .m10p-hero h1 {
        font-size: 26px;
    }
}

.m10p-gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m10p-hero p {
    margin: 10px auto 0;
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    max-width: 580px;
    line-height: 1.6;
}

/* Glass Card (crisp outer border + dark glass surface, zero stacking-context traps) */
.m10p-glass {
    position: relative;
    background: rgba(17, 24, 39, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), 0 0 50px rgba(59, 130, 246, 0.08);
}

.m10p-generator-card {
    padding: 24px;
    overflow: visible;
}

@media (max-width: 640px) {
    .m10p-generator-card {
        padding: 16px;
    }
}

/* Email Well */
.m10p-email-well {
    background: #030712;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m10p-email-well:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.m10p-email-icon {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
}

.m10p-email-center {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.m10p-email-address {
    font-size: 20px;
    font-weight: 500;
    color: #f3f4f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    user-select: all;
    padding: 6px 2px;
}

@media (max-width: 640px) {
    .m10p-email-well {
        flex-wrap: wrap;
    }
    .m10p-email-address {
        font-size: 15px;
    }
    .m10p-copy-cta {
        width: 100%;
        justify-content: center;
    }
}

.m10p-switch-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.m10p-switch-trigger:hover {
    background: rgba(59, 130, 246, 0.22);
}

.m10p-switch-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: min(360px, 85vw);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
    z-index: 70;
}

.m10p-switch-menu-title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 4px 10px 6px;
}

.m10p-switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #e5e7eb !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: background 0.15s ease;
}

.m10p-switch-item:hover {
    background: rgba(59, 130, 246, 0.16);
}

.m10p-switch-item.is-current {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399 !important;
}

.m10p-qr-btn {
    width: 42px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.m10p-qr-btn:hover {
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
}

.m10p-copy-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
    transition: all 0.18s ease;
}

.m10p-copy-cta:hover {
    background: #2563eb;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.6);
}

.m10p-copy-cta:active {
    transform: translateY(0);
}

/* 4-Tile Action Grid */
.m10p-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 680px) {
    .m10p-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.m10p-tile {
    background: #030712;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 15px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    min-height: 68px;
    box-sizing: border-box;
}

.m10p-tile:hover {
    background: #0b0f19;
    border-color: rgba(59, 130, 246, 0.45);
    color: #ffffff;
}

.m10p-tile-timer {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    cursor: default;
}

.m10p-tile-timer:hover {
    border-color: #1e293b;
    background: #030712;
}

.m10p-timer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
}

.m10p-timer-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
}

.m10p-timer-val {
    color: #3b82f6;
    font-weight: 700;
    font-size: 13.5px;
}

.m10p-extend-mini {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.m10p-extend-mini:hover {
    background: #3b82f6;
    color: #ffffff;
}

.m10p-timer-track {
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 9999px;
    overflow: hidden;
}

.m10p-timer-fill {
    height: 100%;
    width: 100%;
    background: #3b82f6;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.85);
    transition: width 0.6s linear;
}

/* Full-screen Modal Backdrop & Mail10p SweetAlert2-Style Modal */
.m10p-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(3, 7, 18, 0.72);
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.m10p-swal-box {
    width: 100%;
    max-width: 480px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px 28px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    box-sizing: border-box;
}

.m10p-swal-title {
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.015em;
}

.m10p-swal-label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 10px;
    text-align: left;
}

.m10p-swal-input {
    width: 100%;
    box-sizing: border-box;
    background-color: #090d16;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.m10p-swal-input:focus {
    border-color: #7367f0;
    box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.22);
}

.m10p-swal-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.m10p-swal-select-wrap {
    position: relative;
}

.m10p-swal-select {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-color: #090d16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 13px 42px 13px 16px;
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.m10p-swal-select:focus {
    border-color: #7367f0;
    box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.22);
}

.m10p-swal-select option {
    background: #0f172a;
    color: #ffffff;
    font-weight: 500;
}

.m10p-swal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.m10p-swal-confirm {
    background: #7367f0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.m10p-swal-confirm:hover {
    background: #5e50ee;
    transform: translateY(-1px);
}

.m10p-swal-cancel {
    background: #6b7280;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.m10p-swal-cancel:hover {
    background: #4b5563;
}

.m10p-modal-box {
    width: 100%;
    max-width: 460px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.m10p-modal-box.m10p-modal-lg {
    max-width: 720px;
}

.m10p-modal-header {
    background: #0b0f19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m10p-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 9px;
}

.m10p-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.m10p-modal-close:hover {
    color: #ffffff;
    background: rgba(244, 63, 94, 0.2);
    border-color: rgba(244, 63, 94, 0.4);
}

.m10p-modal-body {
    padding: 20px;
}

.m10p-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 6px;
}

.m10p-dark-input,
.m10p-dark-select {
    width: 100%;
    box-sizing: border-box;
    background: #030712;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.15s ease;
}

.m10p-dark-input:focus,
.m10p-dark-select:focus {
    border-color: #3b82f6;
}

.m10p-dark-input::placeholder {
    color: #6b7280;
}

.m10p-btn-primary {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.m10p-btn-primary:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

.m10p-btn-random {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.m10p-btn-random:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #ffffff;
}

.m10p-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #6b7280;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.m10p-divider::before,
.m10p-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Inbox Card */
.m10p-inbox-card {
    margin-top: 22px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.m10p-inbox-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.m10p-inbox-head-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.m10p-inbox-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.m10p-inbox-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.m10p-inbox-sub {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.m10p-inbox-sub strong {
    color: #3b82f6;
    font-weight: 700;
}

.m10p-inbox-head-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m10p-badge-subtle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 11px;
    font-weight: 600;
}

.m10p-private-mail-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
    transition: all 0.18s ease;
}

.m10p-private-mail-pill:hover {
    background: rgba(139, 92, 246, 0.28);
    color: #ffffff;
}

/* Radar Empty State */
.m10p-empty-radar {
    flex: 1;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 36px;
    background: rgba(3, 7, 18, 0.55);
    text-align: center;
}

.m10p-radar-wrap {
    position: relative;
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -10px;
}

.m10p-radar-static-outer {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    pointer-events: none;
}

.m10p-radar-static-inner {
    position: absolute;
    width: 118px;
    height: 118px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.24);
    pointer-events: none;
}

.m10p-radar-ring {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.32);
    animation: m10pRadar 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
}

@keyframes m10pRadar {
    0% {
        transform: scale(0.26);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.m10p-radar-core {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: #030712;
    border: 1px solid #1e293b;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.2);
}

.m10p-empty-title {
    position: relative;
    z-index: 3;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

.m10p-empty-desc {
    position: relative;
    z-index: 3;
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 5px;
}

/* Message Cards inside Inbox (Exact Mail10p Layout) */
.m10p-msg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    flex: 1;
    min-height: 290px;
    background: rgba(3, 7, 18, 0.55);
}

.m10p-msg-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.m10p-msg-card:hover {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(59, 130, 246, 0.4);
}

.m10p-msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.32);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    text-transform: uppercase;
}

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

.m10p-msg-sender {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m10p-msg-subject {
    font-size: 12.5px;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m10p-msg-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.m10p-msg-timestamp {
    background: #030712;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
}

.m10p-read-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.m10p-read-btn:hover {
    background: #2563eb;
}

@media (max-width: 600px) {
    .m10p-msg-card {
        flex-wrap: wrap;
        gap: 10px;
    }
    .m10p-msg-right {
        width: 100%;
        justify-content: space-between;
        padding-left: 56px;
    }
}

/* Popup Email Reader Modal (Exact Mail10p Modal) */
.m10p-reader-modal {
    width: 100%;
    max-width: 840px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 88vh;
}

.m10p-reader-modal-head {
    background: #0b0f19;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m10p-reader-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.m10p-reader-avatar {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    text-transform: uppercase;
}

.m10p-reader-titles {
    min-width: 0;
}

.m10p-reader-subject {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    word-break: break-word;
}

.m10p-reader-from {
    margin-top: 3px;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m10p-reader-from strong {
    color: #e5e7eb;
    font-weight: 700;
    margin-left: 3px;
}

.m10p-reader-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.m10p-reader-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.m10p-reader-modal-body {
    background: #ffffff;
    padding: 16px 20px 22px;
    overflow-y: auto;
    flex: 1;
}

.m10p-reader-frame {
    width: 100%;
    min-height: 400px;
    height: 56vh;
    background: #ffffff;
    border: none;
    display: block;
}

.m10p-reader-attach-bar {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.m10p-reader-attach-label {
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}

.m10p-reader-attach-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
}

.m10p-reader-attach-chip:hover {
    background: #dbeafe;
}

/* Feature Highlights (Non-commercial) */
.m10p-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

@media (max-width: 720px) {
    .m10p-features-grid {
        grid-template-columns: 1fr;
    }
}

.m10p-feature-card {
    padding: 20px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.m10p-feature-ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.m10p-feature-card h3 {
    margin: 0 0 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

.m10p-feature-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #9ca3af;
}

/* Informational / FAQ Card (Exact Mail10p bottom section) */
.m10p-info-card {
    margin-top: 24px;
    padding: 26px 28px;
}

@media (max-width: 640px) {
    .m10p-info-card {
        padding: 20px 18px;
    }
}

.m10p-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m10p-info-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.m10p-qa-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.m10p-qa-item h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    color: #e5e7eb;
}

.m10p-qa-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #9ca3af;
}

/* Custom Content Page */
.m10p-page-card {
    padding: 28px;
    color: #e5e7eb;
}

.m10p-page-card h1,
.m10p-page-card h2,
.m10p-page-card h3 {
    color: #ffffff;
}

.m10p-page-card a {
    color: #60a5fa;
}

.m10p-page-card .contact-form .form-input {
    background: #030712;
    border-color: #1e293b;
    color: #ffffff;
}

/* API Endpoint Rows inside Modal */
.m10p-api-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 65vh;
    overflow-y: auto;
}

.m10p-api-item {
    background: #030712;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 12px 14px;
}

.m10p-api-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.m10p-method-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.m10p-method-badge.is-del {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.m10p-api-url {
    font-size: 12px;
    color: #93c5fd;
    word-break: break-all;
}

.m10p-api-desc {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

/* Footer */
.m10p-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px;
    font-size: 12px;
    color: #6b7280;
}

.m10p-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.m10p-footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.m10p-footer-links a {
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.m10p-footer-links a:hover {
    color: #ffffff !important;
}

/* Dark Toast Override for TMail's alert.js */
body.m10p-body > div > .fixed.top-0.right-0 {
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    width: auto !important;
    justify-content: flex-end !important;
    z-index: 120 !important;
}

body.m10p-body > div > .fixed.top-0.right-0 > div {
    background: #1e293b !important;
    border: 1px solid #3b82f6 !important;
    border-radius: 10px !important;
    color: #f3f4f6 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75) !important;
    min-width: 280px;
}

body.m10p-body > div > .fixed.top-0.right-0 > div .text-gray-600 {
    color: #ffffff !important;
    font-size: 13.5px !important;
}

body.m10p-body > div > .fixed.top-0.right-0 > div .text-sm {
    color: #cbd5e1 !important;
    font-size: 12.5px !important;
}
