/* ===== COMPLETE SITE CSS - Lodge Officers App + Norfolk Freemasons Homepage ===== */

/* Lodge Officers App CSS */
.lodge-officers-app {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.admin-login {
    max-width: 400px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.admin-login h3 {
    color: #1a365d;
    margin-bottom: 15px;
}

.admin-login input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-sizing: border-box;
}

.admin-login button {
    background: #3182ce;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

.admin-login button:hover {
    background: #2c5aa0;
}

.editor-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.editor-panel, .preview-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.editor-panel h2, .preview-panel h2 {
    color: #1a365d;
    margin-top: 0;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2d3748;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.officer-editor {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8fafc;
}

.officer-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.officer-editor h4 {
    margin: 0;
    color: #2d3748;
}

.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.btn-danger {
    background-color: #e53e3e;
    color: white;
}

.btn-success {
    background-color: #38a169;
    color: white;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.btn-secondary {
    background-color: #718096;
    color: white;
    float: right;
    margin-bottom: 10px;
}

.officer-inputs input[type="text"],
.officer-inputs input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    height: 38px;
}

.officer-inputs input[type="email"]:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

/* Preview Styles */
.lodge-container {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
}

.lodge-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2c5aa0;
}

.lodge-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.lodge-location {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1.6;
}

.lodge-location a {
    color: #2c5aa0;
    text-decoration: none;
}

.lodge-schedule {
    font-style: italic;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 15px;
    white-space: pre-line;
}

.officers-section {
    margin-top: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.officers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.officer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    background-color: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #2c5aa0;
    min-height: 44px;
}

.officer-row:nth-child(even) {
    background-color: #edf2f7;
}

.officer-title {
    font-weight: bold;
    color: #2d3748;
    font-size: 16px;
    min-width: 80px;
    max-width: 180px;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    white-space: normal;
}

.officer-name {
    color: #1a365d;
    font-size: 16px;
    text-align: right;
    flex-grow: 1;
    margin-left: 20px;
}

.pm-designation {
    color: #718096;
    font-size: 14px;
}

.ppagstb-designation {
    color: #8b5cf6;
    font-size: 14px;
}

.founding-member {
    color: #d69e2e;
    font-weight: bold;
}

.admin-notice {
    background: #bee3f8;
    border: 1px solid #3182ce;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 20px;
    color: #1a365d;
}

/* Hide elements based on mode */
.admin-login {
    display: none;
}

.editor-panel {
    display: none;
}

.view-only .editor-container {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.admin-mode .admin-login {
    display: none;
}

.admin-mode .editor-panel {
    display: block;
}

.show-login .admin-login {
    display: block;
}

/* Chapter-specific crimson styling */
.chapter-mode .lodge-header {
    border-bottom: 3px solid #dc143c;
}

.chapter-mode .editor-panel h2, 
.chapter-mode .preview-panel h2 {
    border-bottom: 2px solid #dc143c;
}

.chapter-mode .officer-row {
    border-left: 4px solid #dc143c;
}

.chapter-mode .lodge-location a {
    color: #dc143c;
}

.chapter-mode .admin-login button {
    background: #dc143c;
}

.chapter-mode .admin-login button:hover {
    background: #b91c3c;
}

.chapter-mode .btn-primary {
    background-color: #dc143c;
}

.chapter-mode .btn-primary:hover {
    background-color: #b91c3c;
}

.chapter-mode .admin-notice {
    background: #fce8e6;
    border: 1px solid #dc143c;
    color: #8b0000;
}

/* Lodge Officers App Mobile Styles */
@media (max-width: 768px) {
    .lodge-officers-app {
        padding: 5px;
    }
    
    .editor-container {
        grid-template-columns: 1fr;
        margin: 0;
        max-width: 100%;
    }
    
    .editor-panel, .preview-panel {
        margin: 0;
        padding: 10px;
    }
    
   .officer-inputs {
    display: grid;
    grid-template-columns: minmax(80px, 0.8fr) minmax(120px, 1fr) minmax(200px, 2.5fr) auto;
    gap: 10px;
    align-items: end;
}
    
    .officers-grid {
        grid-template-columns: 1fr;
    }
    
    .lodge-container {
        margin: 0;
        padding: 10px;
        border-radius: 0;
    }
    
    /* Fix mobile officer row layout - ONLY for chapters */
    .chapter-mode .officer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 16px;
    }
    
    .chapter-mode .officer-title {
        max-width: 100%;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .chapter-mode .officer-name {
        text-align: left;
        margin-left: 0;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (min-width: 768px) {
    .officers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ===== NORFOLK FREEMASONS HOMEPAGE STYLES ===== */

/* Target Joomla article container and apply homepage styling */
.com-content-article__body .nf-homepage {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%) !important;
    margin: -20px !important;
    padding: 20px !important;
    min-height: 80vh;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    box-sizing: border-box;
}

.com-content-article__body .nf-homepage * {
    box-sizing: border-box;
}

.com-content-article__body .nf-homepage .nf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.com-content-article__body .nf-homepage .nf-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 40px 0;
}

.com-content-article__body .nf-homepage .nf-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
}

.com-content-article__body .nf-homepage .nf-header .nf-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
    color: white;
}

.com-content-article__body .nf-homepage .nf-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.com-content-article__body .nf-homepage .nf-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.com-content-article__body .nf-homepage .nf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.com-content-article__body .nf-homepage .nf-member-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
}

.com-content-article__body .nf-homepage .nf-visitor-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.com-content-article__body .nf-homepage .nf-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e3c72;
    font-weight: 400;
}

.com-content-article__body .nf-homepage .nf-card p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

/* Homepage buttons - specific naming to avoid conflicts */
.com-content-article__body .nf-homepage .nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 44px;
    margin: 0 auto;
}

.com-content-article__body .nf-homepage .nf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    color: white !important;
    text-decoration: none !important;
}

.com-content-article__body .nf-homepage .nf-options-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.com-content-article__body .nf-homepage .nf-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.com-content-article__body .nf-homepage .nf-option-content {
    text-align: left;
}

.com-content-article__body .nf-homepage .nf-option-content h3 {
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 400;
}

.com-content-article__body .nf-homepage .nf-option-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.com-content-article__body .nf-homepage .nf-option-image {
    text-align: center;
    position: relative;
}

.com-content-article__body .nf-homepage .nf-masonic-symbol {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
    background-image: url('/images/SiteImages/Craft.gif');
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}

.com-content-article__body .nf-homepage .nf-masonic-symbol:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.4);
}

.com-content-article__body .nf-homepage .nf-chapter-symbol {
    background-image: url('/images/SiteImages/chapter.gif');
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center;
}

.com-content-article__body .nf-homepage .nf-footer {
    text-align: center;
    padding: 30px;
    color: white;
    opacity: 0.8;
}

.com-content-article__body .nf-homepage .nf-decorative-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1e3c72, transparent);
    margin: 20px auto;
}

/* Homepage Mobile Responsive Design */
@media (max-width: 480px) {
    .com-content-article__body .nf-homepage .nf-container {
        padding: 10px;
    }
    
    .com-content-article__body .nf-homepage .nf-header {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .com-content-article__body .nf-homepage .nf-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .com-content-article__body .nf-homepage .nf-header .nf-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .com-content-article__body .nf-homepage .nf-main-content {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .com-content-article__body .nf-homepage .nf-card {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .com-content-article__body .nf-homepage .nf-card h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .com-content-article__body .nf-homepage .nf-card p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .com-content-article__body .nf-homepage .nf-btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .com-content-article__body .nf-homepage .nf-options-section {
        padding: 25px 15px;
        margin: 20px 5px;
    }
    
    .com-content-article__body .nf-homepage .nf-options-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .com-content-article__body .nf-homepage .nf-option-content {
        text-align: center;
        order: 2;
    }
    
    .com-content-article__body .nf-homepage .nf-option-image {
        order: 1;
    }
    
    .com-content-article__body .nf-homepage .nf-option-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .com-content-article__body .nf-homepage .nf-option-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .com-content-article__body .nf-homepage .nf-masonic-symbol {
        width: 100px;
        height: 100px;
    }
    
    .com-content-article__body .nf-homepage .nf-footer {
        padding: 20px 10px;
        font-size: 0.9rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .com-content-article__body .nf-homepage .nf-container {
        padding: 15px;
    }
    
    .com-content-article__body .nf-homepage .nf-header {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .com-content-article__body .nf-homepage .nf-header h1 {
        font-size: 2.2rem;
    }
    
    .com-content-article__body .nf-homepage .nf-header .nf-subtitle {
        font-size: 1.1rem;
    }
    
    .com-content-article__body .nf-homepage .nf-main-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .com-content-article__body .nf-homepage .nf-card {
        padding: 35px 25px;
    }
    
    .com-content-article__body .nf-homepage .nf-card h2 {
        font-size: 1.6rem;
    }
    
    .com-content-article__body .nf-homepage .nf-btn {
        padding: 14px 30px;
        font-size: 1.05rem;
    }
    
    .com-content-article__body .nf-homepage .nf-options-section {
        padding: 40px 25px;
    }
    
    .com-content-article__body .nf-homepage .nf-options-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .com-content-article__body .nf-homepage .nf-option-content {
        text-align: center;
    }
    
    .com-content-article__body .nf-homepage .nf-masonic-symbol {
        width: 110px;
        height: 110px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .com-content-article__body .nf-homepage .nf-container {
        padding: 20px;
    }
    
    .com-content-article__body .nf-homepage .nf-main-content {
        gap: 35px;
    }
    
    .com-content-article__body .nf-homepage .nf-card {
        padding: 35px 30px;
    }
    
    .com-content-article__body .nf-homepage .nf-options-section {
        padding: 45px 35px;
    }
}

/* Homepage Animations */
.com-content-article__body .nf-homepage .nf-pulse {
    animation: nf-pulse 2s infinite;
}

@keyframes nf-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.com-content-article__body .nf-homepage .nf-fade-in {
    animation: nf-fadeIn 1.5s ease-in;
}

@keyframes nf-fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Mobile-first responsive centered logo for Cassiopeia template - PROPER FIX */

/* Target only the logo container, not the navbar */
.navbar-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 0 !important;
    margin: 0 auto !important;
    position: relative !important;
}

.navbar-brand img {
    max-width: 80% !important;
    max-height: 45px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Don't interfere with navbar layout - only center logo within its space */
.container-header .navbar {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Small mobile devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand {
        text-align: center !important;
        width: auto !important;
    }
    
    .navbar-brand img {
        max-width: 75% !important;
        max-height: 40px !important;
        margin: 0 auto !important;
    }
    
    .navbar-brand {
        padding: 8px 0 !important;
    }
}

/* Mobile devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .navbar-brand img {
        max-width: 70% !important;
        max-height: 50px !important;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .navbar-brand {
        padding: 12px 20px !important;
    }
    
    .navbar-brand img {
        max-width: none !important;
        max-height: 60px !important;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    .navbar-brand img {
        max-height: 70px !important;
    }
    
    .navbar-brand {
        padding: 15px 25px !important;
    }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
    .navbar-brand img {
        max-height: 80px !important;
    }
}

/* Extra adjustments for very small screens */
@media (max-width: 320px) {
    .navbar-brand img {
        max-width: 70% !important;
        max-height: 35px !important;
    }
}
/* Email cloaking styles */
.cloaked-email {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    color: #1976d2;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.cloaked-email:hover {
    background: #e3f2fd;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chapter-mode .cloaked-email {
    color: #c62828;
}

.chapter-mode .cloaked-email:hover {
    background: #ffebee;
    border-color: #c62828;
}

/* Admin editor email input styling */
.officer-inputs input[type="text"],
.officer-inputs input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    height: 38px;
}

.officer-inputs input[type="email"]:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}
/* ===== EMAIL MODAL ===== */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-modal iframe {
    width: 700px;
    max-width: 95%;
    height: 700px;
    max-height: 90vh;
    border: none;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===== EMAIL FORM (inside iframe) ===== */
.email-form-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
}

.email-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.email-form h2 {
    margin: 0 0 20px 0;
    color: #333;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 10px;
}

.email-form .form-group {
    margin-bottom: 20px;
}

.email-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.email-form .form-group .required {
    color: #d32f2f;
}

.email-form .form-group input[type="text"],
.email-form .form-group input[type="email"],
.email-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}

.email-form .form-group textarea {
    height: 150px;
    resize: vertical;
}

.email-form .form-group input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.email-form .form-group input:focus,
.email-form .form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.email-form .alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.email-form .alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.email-form .alert-info {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    color: #0c5460;
}

.email-form .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.email-form .btn-primary {
    background: #1976d2;
    color: white;
}

.email-form .btn-primary:hover {
    background: #1565c0;
}

.email-form .btn-primary:disabled {
    background: #90caf9;
    cursor: not-allowed;
}

.email-form .btn-secondary {
    background: #6c757d;
    color: white;
    margin-left: 10px;
}

.email-form .btn-secondary:hover {
    background: #5a6268;
}

.email-form .form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .email-modal iframe {
        width: 95%;
        height: 85vh;
    }
    
    .email-form {
        padding: 20px;
    }
    
    .email-form .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .email-form .btn-primary {
        width: 100%;
    }
}