
/* Forms Specific Styles */
.forms-container {
    padding: 0;
}

.forms-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 15px 15px;
    margin-bottom: 20px;
}

.forms-header h3 {
    margin: 0;
    font-weight: bold;
}

.forms-header p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

/* Instructions Card */
.forms-instructions .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.forms-instructions .card-title {
    color: #28a745 !important;
    font-weight: bold;
}

.forms-instructions ol {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.forms-instructions ol li {
    margin-bottom: 8px;
}

/* Form Option Buttons */
.form-option-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-option-btn:hover {
    border-color: #28a745;
    background-color: #f8fff9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.form-option-btn:active {
    transform: translateY(0);
}

.form-option-btn i.bi:first-child {
    font-size: 1.5rem;
    color: #28a745;
    width: 30px;
}

.form-option-btn span {
    flex: 1;
}

.form-option-btn i.bi-chevron-right {
    color: #6c757d;
    transition: transform 0.3s ease;
}

.form-option-btn:hover i.bi-chevron-right {
    transform: translateX(5px);
    color: #28a745;
}

/* Form List */
.forms-list {
    padding: 0 5px;
}

/* Modal Customization */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

/* Both modals now use green theme */
#formConfirmationModal .modal-header {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

#emailInputModal .modal-header {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.modal-body {
    padding: 2rem;
}

.display-1 {
    font-size: 4rem;
}

.btn {
    border-radius: 25px;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

/* Changed primary buttons to green */
.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Email Input Styling */
#userEmail {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

#userEmail:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

#emailError {
    font-size: 0.9rem;
}

/* Success Animation */
@keyframes formSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-success {
    animation: formSuccess 0.6s ease;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    .forms-header {
        padding: 15px;
    }

    .form-option-btn {
        padding: 15px;
        font-size: 0.9rem;
    }

    .form-option-btn i.bi:first-child {
        font-size: 1.3rem;
        width: 25px;
        margin-right: 15px;
    }

    .forms-instructions {
        margin-bottom: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .display-1 {
        font-size: 3rem;
    }
}

/* Loading State */
.form-option-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-option-btn.loading i.bi-chevron-right {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}