﻿/* ==========================================================================
   Formulario de Denuncia - Canal de Ética (Enterprise UI)
   ========================================================================== */

:root {
    --primary: #003a70;
    --accent: #00c4cc;
    --bg-soft: #f4f7f9;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-radius: 20px;
    --shadow-premium: 0 15px 35px rgba(0, 58, 112, 0.08);
    --transition-fast: all 0.2s ease-in-out;
}

body {
    background-color: var(--bg-soft);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================
   Botón Volver
   ========================================== */
.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1.5px solid rgba(0, 58, 112, 0.2);
    background: #ffffff;
    transition: var(--transition-fast);
    box-shadow: 0 1px 4px rgba(0, 58, 112, 0.06);
}

    .btn-volver:hover {
        background: rgba(0, 58, 112, 0.05);
        border-color: var(--primary);
        color: var(--primary);
        transform: translateX(-2px);
    }

/* ==========================================
   Card Principal
   ========================================== */
.main-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 58, 112, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================
   Stepper Header
   ========================================== */
.stepper-header {
    background: #ffffff;
    padding: 40px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf2f7;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    border: 3px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .step-circle.active {
        background: linear-gradient(135deg, var(--primary), #0056a3);
        color: #fff;
        box-shadow: 0 0 0 4px rgba(0, 58, 112, 0.15);
    }

    .step-circle.completed {
        background: var(--accent);
        color: #fff;
    }

/* ==========================================
   Form Labels e Inputs Premium
   ========================================== */
.form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    color: #4a5568;
}

.form-control,
.form-select {
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid #eef2f6 !important;
    background: #fdfdfd;
    font-size: 1rem;
    transition: all 0.2s ease-in-out !important;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--accent) !important;
        box-shadow: 0 0 0 4px rgba(0, 196, 204, 0.1) !important;
        transform: translateY(-1px);
    }

/* ==========================================
   Selects y Optgroups
   ========================================== */
optgroup {
    font-weight: 700;
    color: var(--primary);
    background: #f8fafc;
}

/* ==========================================
   Alert Premium (Switch Anónimo)
   ========================================== */
.alert-premium {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    border-left: 6px solid var(--accent);
}

/* ==========================================
   PIN Container
   ========================================== */
.pin-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

    .pin-container:focus-within {
        border-color: var(--primary);
    }

.pin-input {
    width: 200px !important;
    height: 60px !important;
    font-size: 2rem !important;
    letter-spacing: 10px !important;
    text-align: center;
    padding-right: 15px !important;
    border: none !important;
    background: transparent !important;
    font-weight: 900;
}

.pin-input-group {
    position: relative;
    max-width: 220px;
}

/* ==========================================
   Botones
   ========================================== */
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

    .btn-primary:hover {
        background: #00284d;
    }

.btn-success {
    background: var(--accent);
    border: none;
    border-radius: 14px;
    font-weight: 700;
}

    .btn-success:hover {
        background: #00a8af;
    }

.btn-lg {
    padding: 16px 40px;
}

/* ==========================================
   Switch Custom
   ========================================== */
.form-check-input {
    width: 3.5em !important;
    height: 1.8em !important;
    cursor: pointer;
}

/* ==========================================
   Select Premium
   ========================================== */
.form-select-lg {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
}
