* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

header p {
    opacity: 0.9;
    font-size: 1.1em;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.file-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

.custom-course-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-course-input input {
    flex: 1;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.selected-courses {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.remove-course {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.fee-summary {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 1.2em;
}

.form-actions {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 10px;
    }
    
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .custom-course-input {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 20px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .print-content, .print-content * {
        visibility: visible;
    }
    .print-content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}
/* Add this to your existing CSS */
.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: white;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-course {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.remove-course:hover {
    background: #c0392b;
}

.selected-courses {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid #e9ecef;
}

.fee-summary {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 1.2em;
    color: #2c3e50;
}
/* Success Message Styles */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 20px;
    border: 1px solid #c3e6cb;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 0.6s;
}

.success-message h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #155724;
}

.success-message p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.success-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.success-actions .btn-secondary {
    background: #6c757d;
}

.success-actions .btn-secondary:hover {
    background: #5a6268;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments for success message */
@media (max-width: 768px) {
    .success-message {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions button {
        width: 100%;
    }
}
/* Enhanced Course Selection Styles */
.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.course-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-info strong {
    color: #2c3e50;
    margin-bottom: 5px;
}

.course-fee {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1em;
}

.remove-course {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-course:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.custom-course-input {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 10px;
    align-items: end;
}

@media (max-width: 768px) {
    .custom-course-input {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .course-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-course {
        align-self: flex-end;
    }
}

/* Dropdown styling */
select {
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Fee summary styling */
.fee-summary {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    font-size: 1.3em;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.fee-summary strong {
    color: #27ae60;
}

/* Success message enhancements */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 20px;
    border: 2px solid #c3e6cb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}
/* Enhanced Course Selection Styles */
.dropdown-course-input,
.custom-course-input {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.course-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.course-info strong {
    color: #2c3e50;
    font-size: 1.1em;
}

.course-type {
    color: #7f8c8d;
    font-size: 0.9em;
    font-style: italic;
}

.course-fee {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1em;
}

.remove-course {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-course:hover {
    background: #c0392b;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .dropdown-course-input,
    .custom-course-input {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .course-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-course {
        align-self: flex-end;
    }
}

/* Fee summary styling */
.fee-summary {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    font-size: 1.3em;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.fee-summary strong {
    color: #27ae60;
}
/* Enhanced Course Selection Styles */
.dropdown-course-input,
.custom-course-input {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.course-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.course-info strong {
    color: #2c3e50;
    font-size: 1.1em;
}

.course-type {
    color: #7f8c8d;
    font-size: 0.9em;
    font-style: italic;
}

.course-fee {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1em;
}

.remove-course {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-course:hover {
    background: #c0392b;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .dropdown-course-input,
    .custom-course-input {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .course-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-course {
        align-self: flex-end;
    }
}

/* Fee summary styling */
.fee-summary {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    font-size: 1.3em;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.fee-summary strong {
    color: #27ae60;
}

/* Success message enhancements */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 20px;
    border: 2px solid #c3e6cb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 0.6s;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}
/* Add these styles to your existing style.css */

/* Textarea styling */
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Picture preview styling */
.picture-preview {
    max-width: 150px;
    max-height: 150px;
    border: 2px solid #3498db;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.file-info {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
    display: block;
}

/* Enhanced form sections */
.form-section {
    padding: 30px;
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5em;
    border-left: 4px solid #3498db;
    padding-left: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}