/* Custom Styling untuk Halaman Pendaftaran */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-500: #0080FF;
    --primary-600: #0066CC;
    --primary-700: #004D99;
    --accent-400: #FFC700;
    --accent-500: #FFB800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #fef9c3 100%);
    min-height: 100vh;
}

.gradient-primary {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #FFC700 0%, #FFB800 100%);
}

.gradient-hero {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 50%, #FFC700 100%);
}

/* Animasi */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

/* Card Styling */
.card-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-shadow:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Form Styling */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: block;
    padding: 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-500);
    background-color: var(--primary-50);
}

.file-upload-label.has-file {
    border-color: #10b981;
    background-color: #d1fae5;
}

/* Radio Button Custom */
.radio-card {
    position: relative;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.radio-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.1);
}

.radio-card input[type="radio"]:checked ~ .radio-content {
    border-color: var(--primary-500);
}

.radio-card input[type="radio"]:checked ~ .radio-content::before {
    background: var(--primary-500);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--primary-500);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 128, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 128, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .container-grid {
        grid-template-columns: 1fr !important;
    }
    
    .flyer-section {
        display: none;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .no-print {
        display: none !important;
    }
}