/* Base styles moved from interview/css/form_style.css
   These styles are shared by the base template `interview/base.html`.
*/

:root {
    --primary-color: #2563eb;
    --primary-hover: #1e40af;
    --secondary-color: #64748b;
    --success-color: #16a34a;
    --danger-color: #dc2626;
    --warning-color: #f59e0b;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --border-focus: #3b82f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: var(--spacing-lg);
}

/* Contenedor principal y layout básico usado por base.html */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.form-header .subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Footer del layout */
.form-footer {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-footer p {
    margin: 0.25rem 0;
}

/* Admin link visible en el footer */
.admin-link-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.admin-link:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.admin-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.admin-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}

/* Responsive rules relevant to the base layout */
@media (max-width: 768px) {
    body {
        padding: var(--spacing-sm);
    }
    
    .form-header {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .form-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.25rem;
    }
    
    .form-header .subtitle {
        font-size: 0.95rem;
    }
}
