@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Poppins:wght@300;400;600;700;900&display=swap');

.content {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.premium-agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1340px;
    margin: 0 auto;
    font-family: 'Oswald', sans-serif;
}

.premium-agenda-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef0f2;
    border-top: 6px solid #809c00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 20px;
    text-align: center;
}

.premium-agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 156, 0, 0.1);
}

.agenda-header {
    margin-bottom: 25px;
}

.agenda-badge {
    background: transparent;
    color: #a2c33f;
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.agenda-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a2c33f;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.agenda-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.agenda-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 1rem;
    font-weight: 600;
    color: #a2c33f;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.5;
}

.exam-date {
    color: #111;
}

.agenda-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.agenda-actions a {
    flex: 1;
    display: inline-block;
    padding: 12px 10px;
    text-decoration: none;
    background: #a2c33f;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.agenda-actions a:hover {
    background: #809c00;
}

/* Fix main wrap background */
.full-width-wrap {
    background-color: transparent !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px 40px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 95vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
    color: #333;
    background: #fff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #4e8cff;
}

.form-group input[readonly] {
    background: #fdfdfd;
    color: #777;
    cursor: not-allowed;
}

.modal-submit {
    align-self: flex-start;
    padding: 10px 25px;
    background: #5a94ff;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.modal-submit:hover {
    background: #427ce0;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .modal-container {
        padding: 20px;
        max-height: 85vh; /* Safer for mobile browsers */
        overflow-y: auto;
        width: 95%;
        margin: 20px auto;
    }
    .modal-overlay {
        align-items: flex-start; /* Fixes flex centering clipping top content */
        padding-top: 20px;
    }
}

.modal-submit-wa {
    background: #25D366; /* WhatsApp Green */
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 10px;
}
.modal-submit-wa:hover {
    background: #128C7E;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: #fff;
    border-left: 5px solid #a2c33f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 30px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    bottom: 30px;
    opacity: 1;
}

.toast-icon {
    font-size: 24px;
    color: #a2c33f;
    font-weight: bold;
}

.toast-content h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #333;
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23555' 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 12px center;
    background-size: 14px;
    padding-right: 35px;
    cursor: pointer;
}

/* Fix specific spacing for select so arrow is clear */
.form-group select:focus {
    outline: none;
    border-color: #4e8cff;
}
