/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: var(--primary);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-bottom: 30px;
    flex-grow: 1;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== LOGO ===== */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.logo-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.logo-image-container:hover {
    transform: scale(1.08) rotate(2deg);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.logo-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-text .logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.header-text .subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    max-width: 600px;
}

/* ===== LOGO ALTERNATE (logo-styles.css merge) ===== */
.pa-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Segoe UI', 'Arial Black', 'Roboto', sans-serif;
    line-height: 1.2;
    position: relative;
}

.pa-logo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 10;
}

.pa-logo-la {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    color: #c53030;
    line-height: 0.9;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.pa-logo-la::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c53030, transparent);
    opacity: 0.7;
}

.pa-logo-year {
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 800;
    color: #1a365d;
    margin: 5px 0;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.pa-logo-odv {
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 6px 20px;
    border: 2px solid #c53030;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a365d, #2d4a8a);
    margin-top: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.pa-logo-subtitle {
    font-size: clamp(11px, 1.4vw, 18px);
    color: #4a5568;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.95;
}

.pa-logo-fulltitle {
    font-size: clamp(12px, 1.6vw, 20px);
    color: #2d3748;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: 1px;
}

.pa-logo-index {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.pa-logo-index .pa-logo-la {
    color: #ff6b6b;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.pa-logo-index .pa-logo-year {
    background: rgba(255, 255, 255, 0.95);
    color: #1a365d;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pa-logo-index .pa-logo-odv {
    background: linear-gradient(135deg, #1a365d, #2d4a8a);
    border-color: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pa-logo-index .pa-logo-subtitle {
    color: white;
    opacity: 0.9;
}

.pa-logo-index .pa-logo-fulltitle {
    color: #ffd700;
    font-weight: 800;
}

.pa-logo-sidebar {
    transform: scale(0.85);
}

.pa-logo-sidebar .pa-logo-la {
    font-size: 36px;
    color: #c53030;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.pa-logo-sidebar .pa-logo-year {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 3px 12px;
}

.pa-logo-sidebar .pa-logo-odv {
    font-size: 13px;
    background: transparent;
    border-color: #c53030;
    color: white;
    padding: 4px 15px;
}

.pa-logo-sidebar .pa-logo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.pa-logo-login {
    width: 140px;
    height: 140px;
}

.pa-logo-login .pa-logo-la {
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.pa-logo-login .pa-logo-year {
    font-size: 24px;
    background: #c53030;
    color: white;
    padding: 4px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pa-logo-login .pa-logo-odv {
    font-size: 16px;
    background: white;
    color: #1a365d;
    border-color: #c53030;
    padding: 6px 18px;
    margin-top: 10px;
}

.pa-logo-login .pa-logo-subtitle {
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

.pa-logo-small {
    transform: scale(0.6);
}

.pa-logo-small .pa-logo-la {
    font-size: 28px;
}

.pa-logo-small .pa-logo-year {
    font-size: 14px;
    padding: 2px 10px;
}

.pa-logo-small .pa-logo-odv {
    font-size: 10px;
    padding: 3px 12px;
    letter-spacing: 3px;
}

.pa-logo:hover .pa-logo-la {
    transform: scale(1.05);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

.pa-logo:hover .pa-logo-year {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.pa-logo:hover .pa-logo-odv {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #c53030, #ff6b6b);
}

/* ===== SIDEBAR (Dashboard) ===== */
.sidebar {
    width: 250px;
    background: var(--primary);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar .logo {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar .logo i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.sidebar .logo h2 {
    font-size: 18px;
    font-weight: 600;
}

.nav-menu {
    margin-top: 30px;
}

.nav-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--secondary);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.top-bar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.logout-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.logout-btn:hover {
    background: #b91c1c;
}

.content-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 400px;
}

/* ===== WELCOME SECTION ===== */
.welcome-message {
    text-align: center;
    padding: 40px 20px;
}

.welcome-message i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-message h1 {
    color: var(--primary);
    margin-bottom: 15px;
}

.welcome-message p {
    color: var(--accent);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.welcome-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.welcome-text {
    color: var(--dark-gray, #4a5568);
    line-height: 1.7;
    margin-bottom: 35px;
    font-size: 17px;
}

/* ===== ACTION CARDS ===== */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.action-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.action-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.action-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== WELCOME CONTENT ===== */
.content {
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}

.welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== AUTH ===== */
.auth-section {
    background: var(--light);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.tabs {
    display: flex;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--gray);
    position: relative;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    font-size: 17px;
}

.tab.active {
    color: var(--primary);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ===== LOGIN ===== */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.login-header .logo {
    width: auto;
    height: auto;
    margin: 0 auto 25px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-header .logo-image {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.login-content {
    padding: 30px;
}

.login-content h1 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.error.show {
    display: block;
}

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    color: var(--primary);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* ===== FORMS ===== */
.form-section {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray, #e2e8f0);
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
    background: white;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.checkbox-group input {
    width: auto;
}

/* ===== BUTTONS ===== */
.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: var(--gray, #e2e8f0);
    color: var(--accent);
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

/* ===== INFO BOX ===== */
.info-box {
    background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.info-box i {
    color: var(--primary);
    margin-right: 10px;
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: var(--primary);
    color: white;
}

table th {
    padding: 12px;
    text-align: left;
}

table td {
    padding: 12px;
}

table tbody tr {
    border-bottom: 1px solid var(--gray, #e2e8f0);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* ===== PRIVACY PAGE ===== */
.privacy-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.privacy-section h2 {
    color: var(--primary);
    margin-top: 0;
}

.privacy-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.privacy-content h1 {
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray);
}

.privacy-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.3em;
}

.privacy-content h3 {
    color: var(--accent);
    margin: 20px 0 10px;
    font-size: 1.1em;
}

.privacy-content p {
    margin-bottom: 15px;
}

.privacy-content ul, .privacy-content ol {
    margin: 15px 0 15px 30px;
}

.privacy-content li {
    margin-bottom: 8px;
}

.highlight {
    background: #fff3cd;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    border-radius: 4px;
}

.back-btn, .back-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    margin-top: 20px;
    transition: all 0.3s;
}

.back-btn:hover, .back-link:hover {
    background: var(--secondary);
    text-decoration: none;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    background: none;
    padding: 0;
}

.back-link:hover {
    text-decoration: underline;
    background: none;
}

/* ===== TERMS PAGE ===== */
.terms-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray);
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: var(--secondary);
}

.subsection {
    margin-bottom: 30px;
}

.subsection-title {
    color: var(--dark-gray, #2d3748);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, var(--light) 0%, #e8f4fd 100%);
    border-left: 5px solid var(--primary);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.warning-box {
    background: #fff5f5;
    border-left: 5px solid #fc8181;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.last-updated {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid var(--gray);
}

.contact-info {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 2px dashed var(--primary);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== FOOTER ===== */
.footer {
    width: 100%;
    background: #1a202c;
    color: white;
    padding: 30px 20px;
    border-radius: 15px 15px 0 0;
    margin-top: auto;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-link:hover {
    color: white;
    transform: translateY(-2px);
}

.copyright {
    color: #a0aec0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.copyright a {
    color: var(--primary);
    text-decoration: none;
}

.copyright a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-logo i {
    color: var(--secondary);
}

/* ===== STATS CARDS ===== */
.stat-card {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
}

.stat-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-item {
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

/* ===== ERROR BORDER (JS) ===== */
.error-border {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-error i {
    font-size: 10px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .logo-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1;
        justify-content: center;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .nav-item:hover, .nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--secondary);
    }

    .content {
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header {
        padding: 25px 20px;
    }

    .header-text .logo-text {
        font-size: 26px;
    }

    .header-text .subtitle {
        font-size: 16px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .auth-section {
        padding: 25px;
    }

    .tab {
        padding: 10px 20px;
        font-size: 16px;
    }

    .privacy-content {
        padding: 20px;
    }

    .terms-container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .logo-image {
        max-width: 160px;
        max-height: 160px;
    }

    .logo-image-container {
        padding: 15px;
    }

    .footer {
        padding: 25px 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-link {
        justify-content: center;
    }

    .container,
    .privacy-content .container {
        padding: 10px;
    }

    .pa-logo-index {
        padding: 20px;
        transform: scale(0.9);
    }

    .pa-logo-login {
        width: 120px;
        height: 120px;
    }

    .pa-logo-login .pa-logo-la {
        font-size: 40px;
    }

    .pa-logo-login .pa-logo-year {
        font-size: 20px;
    }

    .pa-logo-login .pa-logo-odv {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 140px;
        max-height: 140px;
    }

    .pa-logo-index {
        padding: 15px;
        transform: scale(0.8);
    }

    .pa-logo-sidebar {
        transform: scale(0.7);
    }

    .pa-logo-login {
        width: 100px;
        height: 100px;
    }
}
