/* RA Notifications Frontend Styles */

/* This class is added via JS to the body to prevent scrolling */
body.ra-modal-open {
    overflow: hidden;
}

.ra-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.ra-verification-overlay.ra-hidden {
    opacity: 0;
    pointer-events: none;
}

.ra-verification-content {
    background-color: transparent;
    color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ra-verification-content h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}

.ra-verification-content p {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #dddddd;
}

.ra-verification-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allows buttons to stack on small screens */
}

.ra-button {
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    min-width: 150px;
}

.ra-button:hover,
.ra-button:focus {
    transform: scale(1.05);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.ra-button-yes {
    background-color: #28a745;
    border-color: #28a745;
}

.ra-button-yes:hover,
.ra-button-yes:focus {
    background-color: #218838;
    border-color: #1e7e34;
}

.ra-button-no {
    background-color: #dc3545;
    border-color: #dc3545;
}

.ra-button-no:hover,
.ra-button-no:focus {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ra-verification-content h2 {
        font-size: 22px;
    }
    .ra-verification-buttons {
        flex-direction: column;
        align-items: center;
    }
    .ra-button {
        width: 100%;
        max-width: 250px;
    }
}