/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.admin-modal-content {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.admin-modal h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-black);
}

.admin-form-group {
    margin-bottom: 1rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-form-group input,
.admin-form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.admin-form-group textarea {
    height: 100px;
    resize: vertical;
}

.admin-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.admin-btn-primary {
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.admin-btn-secondary {
    background: var(--light-gray);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.admin-btn-primary:hover {
    background: #333;
}

.admin-btn-secondary:hover {
    background: #e0e0e0;
}

/* Admin Panel */
#admin-panel {
    display: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

#announcements-list {
    margin-bottom: 2rem;
}

.announcement-item {
    background: var(--light-gray);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-black);
}

.announcement-item h4 {
    margin-bottom: 0.5rem;
}

.announcement-item .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.delete-btn:hover {
    background: #c82333;
}