/* Student Enrollment Module Styles */

.enrollment-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-row--single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.02);
}

.file-upload-wrapper.dragover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    transform: scale(1.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.6;
}

.upload-text {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.upload-text span {
    color: var(--primary);
    font-weight: 500;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.info-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-box-content {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.info-box-content ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.info-box-content li {
    margin-bottom: 4px;
}

.progress-container {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid var(--border);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text);
}

.progress-track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.result-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 24px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary-outline {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.2);
}

.btn-primary-outline:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.error-message {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-message i {
    font-size: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .enrollment-container {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .file-upload-wrapper {
        padding: 24px 16px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .result-box {
        padding: 24px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
}
