/* Pagus.net - Premium Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    width: calc(100% - 60px);
    background: rgba(21, 25, 34, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 24px;
    z-index: 999999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.cookie-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.cookie-text {
    color: #8E95A2;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #818cf8;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-cookie-accept {
    flex: 2;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-cookie-settings {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: none;
    }
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #151922;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
    padding: 30px;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cookie-modal-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #8E95A2;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cookie-settings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-setting-info {
    flex: 1;
    padding-right: 20px;
}

.cookie-setting-name {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.cookie-setting-desc {
    font-size: 0.85rem;
    color: #8E95A2;
}

/* Custom Checkbox (Switch) */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-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: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #6366f1;
}

input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}
