/**
 * Template Form Frontend Styles
 * Styles specific to the form frontend template
 */

/* Remove default body margins for cleaner look */
body.page-template-template-form-frontend {
    margin: 0;
    background-color: #f5f5f5;
}

/* Header Styles */
.form-frontend-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.form-frontend-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-frontend-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-frontend-header .site-branding {
    flex-shrink: 0;
}

.form-frontend-header .logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.form-frontend-header .logo-link:hover {
    opacity: 0.8;
}

.form-frontend-header .site-logo {
    height: 35px;
    width: auto;
    display: block;
}

.form-frontend-header .header-info {
    text-align: right;
}

.form-frontend-header .header-tagline {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Main Content Wrapper */
.template-form-frontend-wrapper {
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
    padding-top: 0;
}

.form-frontend-content {
    padding: 60px 0;
}

.form-frontend-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form Page Content */
.form-page-content {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hide page title if needed */
.form-page-content .entry-title {
    display: none;
}

/* Form specific overrides */
.form-page-content .riskass-form-container {
    max-width: 100%;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

/* Footer adjustments */
body.page-template-template-form-frontend .site-footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-frontend-header {
        padding: 15px 0;
    }
    
    .form-frontend-header .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-frontend-header .header-info {
        text-align: center;
    }
    
    .form-frontend-header .site-logo {
        height: 30px;
    }
    
    .form-frontend-content {
        padding: 30px 0;
    }
    
    .form-page-content {
        padding: 20px;
    }
}

/* Dark Mode Support */
body[data-theme="dark"] .form-frontend-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

body[data-theme="dark"] .form-frontend-header .header-tagline {
    color: #ccc;
}

body[data-theme="dark"] .template-form-frontend-wrapper {
    background-color: #0a0a0a;
}

body[data-theme="dark"] .form-page-content {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body[data-theme="dark"] .site-footer {
    background-color: #111;
    color: #999;
}

/* Print Styles */
@media print {
    .form-frontend-header,
    .site-footer {
        display: none;
    }
    
    .template-form-frontend-wrapper {
        background: white;
    }
    
    .form-page-content {
        box-shadow: none;
        padding: 0;
    }
}