/**
 * AXHR Cookie Consent Banner Styles
 * Add this to your main stylesheet or include as separate CSS file
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a3a52;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #d4af37;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #d4af37;
    color: #1a3a52;
}

.cookie-btn-primary:hover {
    background: #e5c047;
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #4a8fa5;
}

.cookie-btn-secondary:hover {
    background: #4a8fa5;
}

.cookie-btn-text {
    background: transparent;
    color: #ffffff;
    text-decoration: underline;
    padding: 12px 16px;
}

.cookie-btn-text:hover {
    color: #d4af37;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.cookie-modal-content {
    position: relative;
    background: #ffffff;
    max-width: 600px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cookie-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #1a3a52;
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cookie-modal-close:hover {
    color: #1a3a52;
}

.cookie-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-body > p {
    color: #6c757d;
    margin-bottom: 25px;
}

.cookie-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #4a8fa5;
}

.cookie-category-header {
    margin-bottom: 10px;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-required {
    display: inline-block;
    background: #d4af37;
    color: #1a3a52;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: auto;
}

.cookie-category-desc {
    margin: 8px 0 5px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.cookie-example {
    margin: 5px 0 0 0;
    color: #9ca3af;
    font-size: 0.85rem;
    font-style: italic;
}

.cookie-policy-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.9rem;
}

.cookie-policy-link a {
    color: #4a8fa5;
    text-decoration: none;
    font-weight: 600;
}

.cookie-policy-link a:hover {
    text-decoration: underline;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* Cookie Settings Link (optional - add to footer) */
.cookie-settings-link {
    color: #4a8fa5;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cookie-settings-link:hover {
    text-decoration: underline;
}
