/* Registration Page - Clean Professional Design */

.registration-section {
    background: #F6FDFF;
    min-height: 70vh;
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header-gradient {
    background: #179BD7;
    padding: 18px 22px;
    color: #fff;
    position: relative;
}

.card-header-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF6B35;
}

.card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.card-body {
    padding: 20px;
}

.intro-text {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Requirements List */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(23, 155, 215, 0.06);
    border-radius: 8px;
    border-left: 3px solid #179BD7;
    font-size: 0.9rem;
    color: #1C1C1C;
    transition: all 0.2s ease;
}

.requirement-item:hover {
    border-left-color: #FF6B35;
    background: rgba(255, 107, 53, 0.08);
}

.requirement-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF6B35;
    border-radius: 50%;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Courses List */
.courses-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.courses-list::-webkit-scrollbar {
    width: 5px;
}

.courses-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.courses-list::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 3px;
}

.course-row {
    padding: 10px 14px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #E8ECF0;
    font-size: 0.85rem;
    color: #4a5568;
    transition: all 0.2s ease;
}

.course-row:hover {
    background: rgba(23, 155, 215, 0.06);
    border-color: #179BD7;
    transform: translateX(3px);
}

.course-row.special {
    background: rgba(23, 155, 215, 0.12);
    border-color: #FF6B35;
    border-width: 2px;
    font-weight: 600;
    color: #1C1C1C;
}

.course-row.nested {
    padding-left: 35px;
    font-size: 0.8rem;
    color: #7B7E86;
}

/* Registration Form Card */
.registration-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-header {
    background: #179BD7;
    padding: 25px 30px;
    color: #fff;
    text-align: center;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF6B35;
}

.form-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Registration Form */
.registration-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8ECF0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E8ECF0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #FF6B35;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1C1C1C;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #E8ECF0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    color: #1C1C1C;
}

.form-control:focus {
    outline: none;
    border-color: #179BD7;
    box-shadow: 0 0 0 3px rgba(23, 155, 215, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-check-input {
    margin-top: 4px;
    cursor: pointer;
}

.form-check-label {
    margin: 0;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.form-check-label a {
    color: #179BD7;
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-text {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #7B7E86;
}

/* Form Actions */
.form-actions {
    margin-top: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #179BD7;
    color: #fff;
    box-shadow: 0 4px 15px rgba(23, 155, 215, 0.3);
}

.btn-primary:hover {
    background: #FF6B35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.w-100 {
    width: 100%;
}

/* File Input Styling */
input[type="file"] {
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 10px;
    font-size: 0.85rem;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: #179BD7;
}

/* Responsive */
@media (max-width: 992px) {
    .registration-form {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .registration-section {
        padding: 40px 0;
    }
    
    .form-header {
        padding: 20px 15px;
    }
    
    .form-title {
        font-size: 1.2rem;
    }
    
    .registration-form {
        padding: 20px 15px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .course-row {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .course-row.nested {
        padding-left: 25px;
        font-size: 0.75rem;
    }
}
