﻿/* Existing styles */
.error-popup {
    color: #fff;
    background-color: #dc3545;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.subject-group {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

    .subject-group:hover {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .subject-group.active {
        border-color: #007bff;
    }

.add-subject-btn, .submit-btn {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

    .add-subject-btn:hover, .submit-btn:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .subject-group .row {
        margin-bottom: 10px;
    }
}

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
