/**
 * Privacy Consent Modal Styles
 * Styles for the privacy policy acceptance modal
 */

.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.privacy-modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
}

.privacy-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.privacy-modal-body {
    padding: 25px;
}

.privacy-modal-body p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.privacy-checkbox-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.privacy-checkbox-container label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.privacy-checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.privacy-checkbox-container span {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
}

.privacy-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
}

.privacy-link:hover {
    color: #0052a3;
    text-decoration: none;
}

.required {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

.privacy-checkbox-container.warning {
    border-color: #ffc107;
    background-color: #fff8e1;
}

.privacy-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.privacy-modal-footer .btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-weight: 500;
}

.privacy-modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.privacy-modal-footer .btn-secondary:hover {
    background: #5a6268;
}

.privacy-modal-footer .btn-primary {
    background: #28a745;
    color: white;
}

.privacy-modal-footer .btn-primary:hover:not(:disabled) {
    background: #218838;
}

.privacy-modal-footer .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .privacy-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .privacy-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .privacy-modal-body {
        padding: 20px;
    }
    
    .privacy-modal-footer {
        padding: 15px 20px;
    }
}