/* Consent Banner Styles - IdeaHunter Theme */

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #13171f 0%, #1a2027 100%);
    border-top: 1px solid rgba(8, 174, 180, 0.3);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: var(--body, 'Inter', sans-serif);
    max-height: 90vh;
    overflow-y: auto;
}

.consent-banner.visible {
    transform: translateY(0);
}

.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.consent-header h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-family: var(--heading, 'Ubuntu', sans-serif);
}

.consent-header p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 14px;
}

.consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.consent-btn {
    padding: 12px 24px;
    border: 2px solid #08AEB4;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.consent-btn.primary {
    background: linear-gradient(90deg, #067882, #059674);
    color: white;
    border-color: #08AEB4;
}

.consent-btn.primary:hover {
    background: linear-gradient(90deg, #059674, #067882);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 174, 180, 0.4);
}

.consent-btn.secondary {
    background: transparent;
    color: #08AEB4;
}

.consent-btn.secondary:hover {
    background: rgba(8, 174, 180, 0.1);
    transform: translateY(-1px);
}

.consent-details {
    display: none;
    margin-top: 24px;
    border-top: 1px solid rgba(8, 174, 180, 0.3);
    padding-top: 24px;
}

.consent-banner.show-details .consent-details {
    display: block;
}

.consent-banner.show-details .consent-buttons {
    display: none;
}

.consent-categories {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.consent-category {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.consent-category-header {
    margin-bottom: 12px;
}

.consent-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
}

.consent-checkbox {
    display: none;
}

.consent-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #08AEB4;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.consent-checkbox:checked + .consent-checkbox-custom {
    background: linear-gradient(135deg, #08AEB4, #059674);
    border-color: #08AEB4;
}

.consent-checkbox:checked + .consent-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.consent-checkbox:disabled + .consent-checkbox-custom {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.consent-checkbox-label strong {
    margin-right: 8px;
}

.required-badge {
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 8px;
}

.consent-category-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
}

.consent-services {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.consent-services strong {
    color: rgba(255, 255, 255, 0.8);
}

.consent-detail-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.consent-links {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

.consent-links a {
    color: #08AEB4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.consent-links a:hover {
    color: #059674;
    text-decoration: underline;
}

.consent-links span {
    margin: 0 12px;
}

/* Cookie Settings Link */
.cookie-settings-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(90deg, #067882, #059674);
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 174, 180, 0.3);
    border: 1px solid rgba(8, 174, 180, 0.5);
}

.cookie-settings-link:hover {
    background: linear-gradient(90deg, #059674, #067882);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 174, 180, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .consent-content {
        padding: 20px 16px;
    }

    .consent-buttons {
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
        justify-content: center;
    }

    .consent-detail-buttons {
        flex-direction: column;
    }

    .consent-categories {
        grid-template-columns: 1fr;
    }

    .cookie-settings-link {
        bottom: 15px;
        left: 15px;
        right: auto;
        text-align: center;
        padding: 8px 14px;
    }

    .consent-category {
        padding: 16px;
    }
}

@media (max-width: 479px) {
    .consent-content {
        padding: 16px 12px;
    }

    .consent-header h3 {
        font-size: 18px;
    }

    .consent-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}