/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --saffron: #FF9933;
    --saffron-light: #FFB366;
    --saffron-dark: #E68A00;
    --white: #FFFFFF;
    --yellow: #FFD700;
    --yellow-light: #FFE44D;
    --gray-light: #F5F5F5;
    --gray: #6c757d;
    --gray-dark: #343a40;
    
    /* Legacy variables for compatibility */
    --primary-color: var(--saffron);
    --secondary-color: var(--saffron-dark);
    --accent-color: var(--yellow);
    --light-gray: var(--gray-light);
    --dark-gray: var(--gray-dark);
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    background-color: var(--white);
    line-height: 1.6;
    color: var(--gray-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header styles */
header {
    background-color: var(--saffron);
    color: var(--white);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

/* Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    left: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 0.75rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a i {
    font-size: 1.1rem;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--secondary-color);
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    flex: 1;
    padding-bottom: 80px; /* Space for footer */
}

.page-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn i {
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Image Upload Styles */
.image-upload-container {
    margin: 1rem 0;
}

.image-upload-box {
    border: 2px dashed var(--gray);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background-color: var(--gray-light);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.image-upload-box:hover, .image-upload-box.highlight {
    border-color: var(--saffron);
    background-color: rgba(255, 153, 51, 0.1);
}

.image-upload-box i {
    font-size: 2.5rem;
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

.image-upload-box p {
    margin: 0.5rem 0;
    color: var(--gray-dark);
}

.image-upload-box small {
    color: var(--gray);
    font-size: 0.8rem;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

.remove-image:hover {
    background: var(--danger-color);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    margin-bottom: 0;
}

.required {
    color: var(--danger-color);
    margin-left: 0.25rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Status indicators */
.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.pending {
    background-color: #f1c40f;
    color: #000;
}

.status.in-progress {
    background-color: #3498db;
    color: white;
}

.status.resolved {
    background-color: #2ecc71;
    color: white;
}

.status.rejected {
    background-color: #e74c3c;
    color: white;
}

/* Messages and Alerts */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
    width: 90%;
}

.message {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: white;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.message.fade-in {
    transform: translateX(0);
    opacity: 1;
}

.message.fade-out {
    transform: translateX(120%);
    opacity: 0;
}

.message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.message.success {
    background-color: #2ecc71;
    border-left: 4px solid #27ae60;
}

.message.error {
    background-color: #e74c3c;
    border-left: 4px solid #c0392b;
}

.message.warning {
    background-color: #f39c12;
    border-left: 4px solid #d35400;
    color: #000;
}

.message.info {
    background-color: #3498db;
    border-left: 4px solid #2980b9;
}

.close-message {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    padding: 0 0 0 15px;
}

.close-message:hover {
    opacity: 1;
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

input.error,
textarea.error,
select.error {
    border-color: #e74c3c !important;
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ============================
   Registration Page Enhancements
   ============================ */
/* Location input + button alignment */
.location-input-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.location-input-container input[type="text"] {
    flex: 1 1 auto;
}
/* Themed current location button */
.btn.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--saffron);
    color: var(--white);
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.btn.btn-location:hover {
    background-color: var(--saffron-dark);
}
.btn.btn-location i {
    color: var(--white);
}
@media (max-width: 640px) {
    .btn.btn-location .btn-text { display: none; }
}
/* Map container polish */
.map-container {
    height: 300px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-top: 0.75rem;
}
/* Image upload area */
.image-upload-box {
    background: linear-gradient(180deg, #fff, #fdf7ef);
    border: 2px dashed var(--saffron-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.image-upload-box.highlight {
    border-color: var(--saffron);
    background: #fff8ee;
}
.image-upload-box .upload-label {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--gray);
}
.image-upload-box .upload-label i {
    font-size: 2rem;
    color: var(--saffron);
}
.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.image-preview-item {
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.image-preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}
.image-preview-item .remove-image {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.image-preview-item .remove-image:hover {
    background: rgba(0,0,0,0.75);
}
/* Audio recorder controls alignment (HTML uses .recorder-controls) */
.recorder-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}
.audio-visualizer {
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Form Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-col {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
    margin-bottom: 1rem;
}

/* Complaint Cards */
.complaint-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.complaint-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.complaint-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.complaint-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.complaint-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.complaint-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.complaint-card p {
    margin-bottom: 1rem;
    color: #444;
}

.complaint-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.complaint-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.complaint-id {
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: monospace;
}

.complaint-details {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-item {
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.detail-value {
    color: #333;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge i {
    font-size: 0.9rem;
}

.status-badge.received {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-badge.in-progress {
    background-color: #fff8e1;
    color: #ffa000;
}

.status-badge.resolved {
    background-color: #e8f5e9;
    color: #388e3c;
}

.complaint-timeline {
    padding: 1.5rem;
    background-color: #f9f9f9;
}

.complaint-timeline h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
    border-left: 2px solid #e0e0e0;
}

.timeline-item:last-child {
    padding-bottom: 0.5rem;
    border-left-color: transparent;
}

.timeline-icon {
    position: absolute;
    left: -1.2rem;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-item.received .timeline-icon {
    background-color: #1976d2;
}

.timeline-item.in-progress .timeline-icon {
    background-color: #ffa000;
}

.timeline-item.resolved .timeline-icon {
    background-color: #388e3c;
}

.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.timeline-content p {
    margin: 0 0 0.5rem 0;
    color: #555;
    font-size: 0.9rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: #777;
}

.complaint-actions {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #eee;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.no-complaints {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-complaints i {
    color: #90a4ae;
    margin-bottom: 1rem;
}

.no-complaints h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.no-complaints p {
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Status Timeline */
.status-timeline {
    position: relative;
    padding-left: 30px;
    margin: 2rem 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px solid #e0e0e0;
}

.timeline-item.active .timeline-icon {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.timeline-content {
    padding-left: 1.5rem;
}

.timeline-content h4 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}

.timeline-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: var(--primary-color);
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-method {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}

.social-links {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.map-container {
    margin-top: 3rem;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Print Styles */
@media print {
    .no-print,
    .no-print * {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        padding: 0;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .btn {
        display: none;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        font-weight: normal;
        color: #666;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Use navigation.css as the single source of truth for mobile nav */
    /* Neutralize conflicting .nav-links positioning from styles.css */
    .nav-links {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .form-container {
        padding: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
    
    body {
        padding: 0;
        background: white;
        color: black;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
}
