/* SEO & Page Speed Optimizations */ 

/* privacypolicy.html */
#privacy-policy p, #privacy-policy h3 {
    font-size: 1.3em;
    line-height: 1.6em;
}

.copyright-text p {
    white-space: nowrap;
}

/* medicaldisclaimer.html */
#medical-disclaimer p {
    font-size: 1.3em;
    line-height: 1.6em;
}

/* news-detail3.html */
.news-detail3-body header {
    height: auto;
    padding: 5px 0;
    min-height: 0;
}
header .col-md-8.text-align-right {
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
header span.phone-icon,
header span.email-icon {
    padding: 0;
    margin: 0 8px;
    border: 0;
    line-height: 1;
}
header .email-icon a {
    white-space: nowrap;
}

.submit-btn {
    background-color: #a5c422;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 600;
    height: 50px;
    width: 100%;
    font-size: 16px;
    margin-top: 15px;
    transition: all 0.4s ease-in-out;
}

.submit-btn:hover {
    background-color: #393939;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hidden-seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.toggle-password {
    cursor: pointer;
}

.error-message {
    display: none;
}

@media (max-width: 768px) {
    header {
        display: none;
    }
    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
    }
    .navbar-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 10px;
        margin-top: -5px;
        height: 56px;
        order: 1;
    }
    .navbar-brand img {
        max-height: 56px;
        width: auto;
        margin-bottom: 0;
    }
    .navbar-toggle {
        order: 2;
        margin-left: auto;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding: 6px 8px;
        min-height: 44px;
        min-width: 44px;
    }
    .brand-text {
        display: block;
        font-size: 10px;
        margin-top: 2px;
        line-height: 1.1;
        font-weight: 500;
        color: #222;
        margin-left: 2px;
    }
    header {
        padding: 0;
    }
    header .container {
        padding: 0 10px;
    }
    header .phone-icon,
    header .email-icon {
        font-size: 12px;
        padding: 0 8px;
    }
    
    .navbar-default .navbar-nav li a {
        padding: 12px 15px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-control {
        min-height: 44px;
        font-size: 16px;
    }
    
    .section-btn,
    button[type="submit"] {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    #map {
        height: 400px;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
    
    .admin-button-container {
        bottom: 10px;
        right: 10px;
    }
    
    .admin-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        max-height: 48px;
    }
    
    .brand-text {
        font-size: 9px;
    }
    
    header .phone-icon,
    header .email-icon {
        font-size: 11px;
        padding: 0 4px;
    }
    
    .navbar-default .navbar-nav li a {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    #map {
        height: 300px;
    }
}

@media (min-width: 769px) {
    .navbar-header {
        display: flex;
        align-items: flex-start;
        min-height: 60px;
    }
    .navbar-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 10px;
        margin-top: -8px;
        height: 60px;
    }
    .navbar-brand img {
        max-height: 58px;
        width: auto;
        margin-bottom: 0;
    }
    .brand-text {
        display: block;
        font-size: 0.8em;
        margin-top: 2px;
        line-height: 1.1;
        font-weight: 500;
        color: #222;
        margin-left: 2px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .section-btn:hover,
    .admin-btn:hover {
        transform: none;
    }
    
    .section-btn:active,
    .admin-btn:active {
        transform: scale(0.98);
    }
}

@media (prefers-contrast: high) {
    .navbar-default {
        border: 2px solid #000;
    }
    
    .section-btn,
    .admin-btn {
        border: 2px solid #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-btn,
    .admin-btn {
        transition: none;
    }
    
    .section-btn:hover,
    .admin-btn:hover {
        transform: none;
    }
} 

/* painting-story.html - Version 1.2 - Dark grey text for maximum readability */
.painting-body {
    font-family: Arial, sans-serif;
    margin: 20px;
    line-height: 1.6;
    color: #2c2c2c !important; /* Dark grey text for excellent contrast */
    background: #ffffff;
}

.painting-img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.painting-caption {
    font-style: italic;
    color: #2c2c2c !important; /* Dark grey for maximum readability */
    margin-bottom: 20px;
    font-weight: 500;
}

.painting-h1 {
    color: #2c3e50 !important;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.painting-h2 {
    color: #2c3e50 !important;
    margin-top: 30px;
    font-weight: 600;
}

.painting-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
}

.painting-back-link {
    margin-bottom: 30px;
}

.painting-back-link a {
    color: #3498db !important;
    text-decoration: none;
    font-weight: bold;
}

.painting-back-link a:hover {
    text-decoration: underline;
}

.painting-img-full {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Dark mode support for painting page */
@media (prefers-color-scheme: dark) {
    .painting-body {
        background: #2c2c2c !important;
        color: #f0f0f0 !important;
    }
    
    .painting-container {
        background: #2c2c2c !important;
    }
    
    .painting-caption {
        color: #d0d0d0 !important;
    }
    
    .painting-h1,
    .painting-h2 {
        color: #a5c422 !important;
    }
    
    .painting-back-link a {
        color: #6db3f2 !important;
    }
}

/* contact.html */
.hidden-seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.toggle-password {
    cursor: pointer;
}

.error-message {
    display: none;
} 

/* index.html */
.hidden-seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#google-map {
    margin-top: 100px;
    padding-top: 80px;
}

#map {
    height: 600px;
    width: 100%;
    position: relative;
}

#map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#map-error {
    display: none;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.about-info-centered {
    text-align: center;
}

/* admin/login.php */
.admin-login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}
.login-icon {
    text-align: center;
    margin-bottom: 30px;
}
.login-icon i {
    font-size: 60px;
    color: #667eea;
    margin-bottom: 10px;
}
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.alert {
    border-radius: 10px;
    border: none;
}
.back-link {
    text-align: center;
    margin-top: 20px;
}
.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.back-link a:hover {
    text-decoration: underline;
}
.security-notice {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* admin/update-lists.php */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-link {
    color: #fff;
    opacity: 0.85;
    font-weight: 500;
}

.nav-link.active, .nav-link:hover {
    color: #fff;
    opacity: 1;
    font-weight: 700;
}

.main-content {
    padding-top: 20px;
}

.nav-tabs .nav-link:not(.active) {
    background-color: #f8f9fa;
    color: #495057;
}

.injectable-select {
    width: 150px;
}

/* admin/geography.php */
#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-link {
    color: #fff;
    opacity: 0.85;
    font-weight: 500;
    border-radius: 5px;
    margin-bottom: 4px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    opacity: 1;
    font-weight: 700;
}

.nav-link.active {
    background: #fff;
    color: #4e54c8;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(78,84,200,0.08);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.badge-custom {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
}

/* admin/seo.php */
.stat-card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.chart-container {
    position: relative;
    height: 350px;
}

.improvement-card {
    border-left: 4px solid #28a745;
}

.improvement-card.high-impact {
    border-left-color: #dc3545;
}

.improvement-card.medium-impact {
    border-left-color: #ffc107;
}

.improvement-card.low-impact {
    border-left-color: #17a2b8;
}

.chart-container-leaderboard {
    height: 400px;
}

/* admin/realtime.php */
.chart-container-realtime {
    position: relative;
    height: 350px;
    min-height: 220px;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* admin/conversions.php */
.stat-card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

/* admin/visitors.php */
.stat-card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.chart-container {
    position: relative;
    height: 350px;
} 

/* admin/performance.php */
.chart-container {
    position: relative;
    height: 350px;
} 

/* admin/audit-logs.php */
.audit-logs-body {
    background: #f8f9fa;
}

.audit-logs-container {
    max-width: 1200px;
    margin-top: 40px;
}

.audit-logs-card {
    margin-bottom: 30px;
}

.table thead th {
    background: #667eea;
    color: #fff;
}

.table tbody tr:nth-child(even) {
    background: #f2f2f2;
}

.log-source {
    font-size: 0.95em;
    color: #888;
}

.truncate {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logs-table-container {
    overflow-x: auto;
    max-height: 400px;
}

/* admin/users.php */
.users-body {
    background: #f8f9fa;
}

.users-container {
    max-width: 1200px;
    margin-top: 40px;
}

.users-table-container {
    overflow-x: auto;
    max-height: 300px;
}

.action-button {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* admin/settings.php */
.settings-card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.settings-nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.settings-nav-link:hover, .settings-nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* admin/change-password.php */
.change-password-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.password-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

.password-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.password-header p {
    color: #666;
    margin-bottom: 0;
}

.btn-change {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-change:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.password-requirements {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 14px;
}

.key-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

/* admin/stats.php */
.stats-body {
    background: #f8f9fa;
}

.site-badge {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.headache-zone {
    background: #e3f2fd;
    color: #1565c0;
}

.headache-md {
    background: #f3e5f5;
    color: #6a1b9a;
}

.combined {
    background: #e8f5e8;
    color: #2e7d32;
}

.refresh-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.user-info {
    color: #ffd700;
    font-size: 0.9rem;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* admin/content-strategy.php */
.priority-high {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.priority-medium {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    color: white;
}

.priority-low {
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    color: white;
}

.engagement-excellent {
    color: #00b894;
    font-weight: bold;
}

.engagement-good {
    color: #fdcb6e;
    font-weight: bold;
}

.engagement-poor {
    color: #e17055;
    font-weight: bold;
}

/* admin/emails.php */
.mail-server-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    margin-bottom: 20px;
}

.mail-server-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.mail-server-body {
    padding: 20px;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-online {
    background-color: #28a745;
}

.status-offline {
    background-color: #dc3545;
}

.email-iframe {
    width: 100%;
    height: 600px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.email-list {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.email-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.email-item:hover {
    background-color: #f8f9fa;
}

.email-item:last-child {
    border-bottom: none;
}

.email-subject {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.email-from {
    color: #666;
    font-size: 14px;
    margin-bottom: 3px;
}

.email-date {
    color: #999;
    font-size: 12px;
}

.email-preview {
    color: #777;
    font-size: 13px;
    margin-top: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-emails {
    text-align: center;
    padding: 40px;
    color: #666;
}

.email-body {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}

.email-header {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
}

/* admin/email-login.php */
.email-login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.email-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.email-login-header h1 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.email-login-header p {
    color: #666;
    font-size: 0.9rem;
}

.email-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.credentials-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

/* admin.html */
.admin-header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.admin-header .sidebar-logo {
    max-height: 50px !important;
    width: auto !important;
}

.admin-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-container {
    padding: 40px 20px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.admin-card .card-body {
    padding: 2rem;
    text-align: center;
}

.admin-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.admin-description {
    color: #666;
    font-size: 0.9rem;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.hipaa-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.security-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.compliance-status {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
} 