/**
 * Warning Window Component Styles
 * Styles for the warning modal dialog component
 */

.warning-window-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.warning-window {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.161);
    width: 800px;
    max-width: 90vw;
    height: 400px;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: warningWindowSlideIn 0.3s ease-out;
}

@keyframes warningWindowSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.warning-icon-container {
    margin-bottom: 30px;
}

.warning-triangle-icon {
    display: block;
}

.warning-text-container {
    text-align: center;
    margin-bottom: 50px;
    font-family: Helvetica, Arial, sans-serif;
}

.warning-title {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.5;
}

.warning-subtitle {
    font-size: 14px;
    color: #000;
    margin-top: 8px;
    line-height: 1.5;
}

.warning-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.warning-button {
    width: 170px;
    height: 40px;
    border-radius: 4px;
    font-size: 12px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.warning-button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.warning-button:active {
    transform: scale(0.98);
}

.warning-go-back {
    background: #b7b7b7;
    color: #fff;
    border: none;
}

.warning-go-back:hover {
    background: #AFCD00;
}

.warning-continue {
    background: none;
    color: #000;
    border: 1px solid #707070;
}

.warning-continue:hover {
    background: #AFCD00;
}

/* Responsive styles */
@media (max-width: 900px) {
    .warning-window {
        width: 90vw;
        height: auto;
        min-height: 300px;
        padding: 30px 20px;
    }
}

@media (max-width: 500px) {
    .warning-buttons-container {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .warning-button {
        width: 100%;
        max-width: 250px;
    }
    
    .warning-window {
        padding: 20px;
    }
    
    .warning-text-container {
        margin-bottom: 30px;
    }
}

