/* Acceptable User Policy Overlay Styles */
.acceptable-user-policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.policy-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
    border: 1px solid #e0e0e0;
}

.policy-header {
    background: linear-gradient(135deg, #466842 0%, #5a7a52 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.policy-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.policy-content {
    padding: 2rem;
    line-height: 1.6;
    color: #333;
}

.policy-content p {
    margin: 0;
    font-size: 1rem;
    text-align: justify;
}

.policy-actions {
    padding: 1.5rem 2rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.policy-ok-btn {
    background: #466842;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.policy-ok-btn:hover {
    background: #5a7a52;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(70, 104, 66, 0.3);
}

.policy-ok-btn:active {
    transform: translateY(0);
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .policy-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .policy-header h2 {
        font-size: 1.2rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-content p {
        font-size: 0.95rem;
    }
    
    .policy-actions {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .policy-ok-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Ensure overlay appears above all other elements */
.acceptable-user-policy-overlay {
    z-index: 10000 !important;
}

/* Prevent body scroll when overlay is active */
body.overlay-active {
    overflow: hidden !important;
} 