/* ===================================
   MODERN GREEN GRADIENT THEME 2025
   =================================== */

/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables for Green Gradient Theme */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --green-gradient-1: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);
    --green-gradient-2: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --green-gradient-3: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    --green-gradient-4: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
    --dark-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);

    --success-green: #10b981;
    --success-green-dark: #059669;
    --light-green: #d1fae5;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* Global Reset and Base Styles */
.pendaftaran-siswa-plugin-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pendaftaran-siswa-plugin-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

/* Animated Background Gradient */
.pendaftaran-siswa-plugin-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Main Container */
.pendaftaran-siswa-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Header with Gradient */
.pendaftaran-siswa-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--green-gradient-2);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    z-index: -1;
}

/* Form Sections with Modern Card Design */
.form-section {
    position: relative;
    margin: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Legend with Modern Style */
.form-section legend {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 18px;
    background: var(--green-gradient-2);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
}

.form-section legend::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--success-green);
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Labels with Modern Typography */
.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: #ef4444;
    font-size: 16px;
    font-weight: 700;
}

/* Modern Input Styles */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--success-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

/* Select Custom Arrow */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Textarea */
.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Help Text */
.form-group small,
.help-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    font-weight: 400;
}

/* File Input Modern Style */
.form-group input[type="file"] {
    padding: 12px;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--success-green);
    background: var(--light-green);
}

/* Conditional Fields with Glassmorphism */
.conditional-field {
    position: relative;
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        var(--shadow-md);
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.conditional-field::before {
    content: '✓';
    position: absolute;
    top: -12px;
    left: 20px;
    width: 28px;
    height: 28px;
    background: var(--green-gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-md);
}

.conditional-field label {
    color: var(--success-green-dark) !important;
    font-weight: 700;
}

.conditional-field .help-text {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--success-green);
    margin-top: 12px;
    backdrop-filter: blur(5px);
}

/* Modern Buttons */
.form-actions {
    display: flex;
    gap: 16px;
    margin: 40px 30px 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-submit,
.btn-reset,
.btn-check-status {
    position: relative;
    padding-top : 0px;
    padding-bottom : 0px;
    padding-right : 40px;
    padding-left : 40px;
    /*padding: 16px 40px;*/
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-submit,
.btn-check-status {
    background: var(--green-gradient-2);
    color: var(--white);
}

.btn-submit::before,
.btn-check-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before,
.btn-check-status:hover::before {
    left: 100%;
}

.btn-submit:hover,
.btn-check-status:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-submit:active,
.btn-check-status:active {
    transform: translateY(-1px);
}

.btn-reset {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-reset:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

/* Loading Spinner */
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
#form-message {
    margin: 30px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid var(--success-green);
}

.message-success::before {
    content: '✓';
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.message-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.message-error::before {
    content: '✕';
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Validation States */
.validation-warning {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1) !important;
}

.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    background: #fef2f2 !important;
}

/* ===================================
   STATUS CHECKER MODERN STYLES
   =================================== */

.status-checker-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.status-checker-header {
    text-align: center;
    padding: 60px 30px 40px;
    background: var(--green-gradient-2);
    color: var(--white);
    margin: 0;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    position: relative;
    overflow: hidden;
}

.status-checker-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.status-checker-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status-checker-header .description {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
}

.status-form-container {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Status Results with Glassmorphism */
.status-results-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    background: var(--green-gradient-2);
    padding: 20px 24px;
    color: var(--white);
}

.results-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.btn-close-results {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-results:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.results-content {
    padding: 30px;
}

.student-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.info-group {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.info-group h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--success-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--gray-600);
    flex-shrink: 0;
}

.info-value {
    color: var(--gray-800);
    font-weight: 500;
    text-align: right;
}

/* Status Display with Modern Badge */
.status-display {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.status-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.status-diproses {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 2px solid #f59e0b;
}

.status-diterima {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid var(--success-green);
}

.status-ditolak {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #ef4444;
}

.status-display .status-text {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Statistics Grid */
.status-statistics {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.status-statistics h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--green-gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item.diproses {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.stat-item.diterima {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: var(--success-green);
}

.stat-item.ditolak {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--green-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Help Section Modern */
.help-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.help-section h4 {
    color: var(--gray-800);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.help-content p {
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 12px;
}

.help-content ul {
    margin: 12px 0 24px 24px;
    color: var(--gray-600);
}

.help-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Error Message Modern */
.error-message {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid #ef4444;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: shake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Admin Notes Modern */
.admin-notes {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid #6366f1;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.admin-notes h5 {
    color: #4f46e5;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pendaftaran-siswa-plugin-wrapper {
        padding: 20px 10px;
    }

    .pendaftaran-siswa-wrapper {
        border-radius: var(--radius-xl);
    }

    .form-section {
        margin: 20px 15px;
        padding: 20px;
    }

    .form-section legend {
        font-size: 16px;
        padding: 10px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-actions {
        flex-direction: column;
        margin: 30px 15px 20px;
    }

    .btn-submit,
    .btn-reset,
    .btn-check-status {
        width: 100%;
    }

    .status-checker-header h2 {
        font-size: 28px;
    }

    .student-info {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .status-checker-header {
        padding: 40px 20px 30px;
    }

    .status-form-container {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .status-display .status-text {
        font-size: 24px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* Print Styles */
@media print {
    .pendaftaran-siswa-plugin-wrapper::before {
        display: none;
    }

    .btn-submit,
    .btn-reset,
    .btn-close-results {
        display: none;
    }

    .form-section {
        page-break-inside: avoid;
    }
}

/* Accessibility Enhancements */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--success-green);
    outline-offset: 2px;
}

.btn-submit:focus-visible,
.btn-reset:focus-visible,
.btn-check-status:focus-visible {
    outline: 3px solid var(--success-green);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--success-green);
    color: var(--white);
}

::-moz-selection {
    background: var(--success-green);
    color: var(--white);
}

/* File Upload Modern Styles */
.upload-notice {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 197, 253, 0.08) 100%);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid #3b82f6;
    margin-bottom: 24px;
}

.upload-notice p {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.upload-notice ul {
    margin: 0 0 0 20px;
    color: var(--gray-600);
}

.upload-notice li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.file-required label {
    color: var(--success-green) !important;
}

.file-input {
    padding: 16px !important;
    background: var(--white) !important;
    border: 2px dashed var(--gray-300) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.file-input:hover {
    border-color: var(--success-green) !important;
    background: var(--light-green) !important;
}

.file-input:focus {
    border-style: solid !important;
    border-color: var(--success-green) !important;
    background: var(--white) !important;
}

.file-input.file-uploaded {
    border-color: var(--success-green) !important;
    border-style: solid !important;
    background: rgba(16, 185, 129, 0.05) !important;
}

.form-group label svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* File Preview Styles */
.file-preview {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    display: none;
}

.file-preview:not(:empty) {
    display: block;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.pdf-icon {
    font-size: 48px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.file-name,
.file-size {
    font-size: 14px;
    color: var(--gray-700);
}

.file-name strong,
.file-size strong {
    color: var(--gray-900);
    font-weight: 600;
}

.btn-remove-file {
    align-self: flex-start;
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-remove-file:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* File Input Error State */
.file-input.error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* Responsive File Upload */
@media (max-width: 768px) {
    .upload-notice {
        padding: 16px;
    }

    .preview-image {
        max-width: 100%;
    }

    .file-input {
        padding: 12px !important;
    }
}