/* 
   Daily Standup Wheel — Modals
   Overlay, Content, Animations, Import Modals
*/

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, rgba(11, 12, 21, 0.95), rgba(20, 20, 35, 0.95));
    border: 2px solid var(--accent-secondary);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 153, 0.2);
    max-width: 90%;
    width: 500px;
    transform: scale(1);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.winner-title {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.modal-winner-name {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Import Modal Specific */
.vertical-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.full-width {
    width: 100%;
}

.large-modal {
    width: 600px;
    max-width: 95%;
}

#import-textarea {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: white;
    padding: 1rem;
    font-family: var(--font-family);
    margin-bottom: 2rem;
    resize: vertical;
}

#import-textarea:focus {
    border-color: var(--accent-primary);
    outline: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
