/* Cookie Consent Banner Styling */
.eme-cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    z-index: 1000001;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.eme-cookie-banner.show {
    bottom: 20px;
}

.eme-cookie-banner .consent-text {
    flex: 1;
}

.eme-cookie-banner h6 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.eme-cookie-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.eme-cookie-banner p a {
    color: #fff;
    text-decoration: underline;
}

.eme-cookie-banner .consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.eme-cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eme-cookie-btn.accept {
    background: #fff;
    color: #1a1a1a;
}

.eme-cookie-btn.accept:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.eme-cookie-btn.reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.eme-cookie-btn.reject:hover {
    color: #fff;
    border-color: #fff;
}

/* Granular Settings Styling */
.eme-settings-container {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.eme-cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.eme-cookie-row:last-child {
    border-bottom: none;
}

.eme-cookie-info h5 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.eme-cookie-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Switch styling */
.eme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.eme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.eme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.eme-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.eme-slider {
    background-color: #4CAF50;
}

input:checked+.eme-slider:before {
    transform: translateX(24px);
}

input:disabled+.eme-slider {
    background-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.5;
}

.eme-save-settings-btn {
    margin-top: 25px;
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .eme-cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .eme-cookie-banner .consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .eme-cookie-banner {
        left: 10px;
        right: 10px;
        padding: 20px;
    }

    .eme-cookie-banner.show {
        bottom: 10px;
    }

    .eme-cookie-btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 12px;
    }

    .eme-cookie-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}