/* PPDB BKN - Custom Styles */

/* Color Variables */
:root {
    --navy: #1e3a8a;
    --gold: #fbbf24;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bg-navy {
    background-color: var(--navy);
}

.text-gold {
    color: var(--gold);
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
}

.button-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.button-white {
    background-color: white;
    color: #1e293b;
    border: 2px solid white;
}

.button-white:hover {
    background-color: transparent;
    color: white;
}

.button-navy {
    background-color: var(--navy);
    color: white;
}

.button-navy:hover {
    background-color: #1e40af;
}

.button-light {
    background-color: #f1f5f9;
    color: #475569;
}

.button-light:hover {
    background-color: #e2e8f0;
}

/* Card Styles */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-desc {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Glass Effect */
.glass-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.step-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Text Shadow */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-strong {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .card {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
}

/* Form Styles */
.label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-primary {
    background-color: var(--navy);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .button {
        width: 100%;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    /* Mobile header adjustments */
    header nav a {
        display: block;
        width: 100%;
    }
    
    /* Mobile form adjustments */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Mobile table */
    table {
        font-size: 0.75rem;
    }
    
    table th,
    table td {
        padding: 0.5rem !important;
    }
}

@media (max-width: 640px) {
    /* Stack elements on small screens */
    .md\:flex-row {
        flex-direction: column;
    }
    
    .md\:grid-cols-2,
    .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Utility Classes */
.pointer-events-none {
    pointer-events: none;
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.ring-1 {
    box-shadow: 0 0 0 1px currentColor;
}

.ring-white\/20 {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.ring-white\/30 {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

