:root {
    --armas-blue: #007bff;
    --armas-dark-blue: #0056b3;
    --armas-text: #444;
    --armas-gray: #888;
    --armas-bg: #ffffff;
    --armas-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

/* Sol Alt Balon Tasarımı */
.armas-cookie-container {
    position: fixed;
    bottom: 20px;
    left: -100% !important; /* Başlangıçta kesin ekran dışı */
    width: 380px;
    max-width: 90%;
    background: var(--armas-bg);
    border-radius: 15px;
    box-shadow: var(--armas-shadow);
    z-index: 999999 !important;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #f0f0f0;
    visibility: hidden; /* Gizliyken tıklanamaz yap */
}

.armas-cookie-container.active {
    left: 20px !important;
    visibility: visible;
}

.armas-cookie-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.armas-cookie-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.armas-cookie-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.armas-cookie-text {
    font-size: 14px;
    color: var(--armas-text);
    line-height: 1.5;
    margin-bottom: 15px;
}

.armas-cookie-text a {
    color: var(--armas-blue);
    text-decoration: none;
    font-weight: 600;
}

.armas-cookie-footer {
    display: flex;
    gap: 10px;
}

.armas-btn-accept, .armas-btn-settings, .armas-btn-save {
    padding: 12px 20px; /* Mobilde daha kolay tıklanması için büyütüldü */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Mobil mavi gölgeyi kaldır */
}

.armas-btn-accept {
    background: var(--armas-blue);
    color: white;
    flex: 2;
}

.armas-btn-settings {
    background: #f0f2f5;
    color: #444;
    flex: 1;
}

/* Ayarlar Modalı */
.armas-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000000 !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.armas-modal-content {
    background: white;
    width: 480px;
    max-width: 95%;
    border-radius: 20px;
    padding: 25px;
}

.armas-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.armas-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.armas-modal-close {
    font-size: 32px;
    cursor: pointer;
    color: #aaa;
    padding: 10px;
}

.armas-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
}

.armas-setting-name {
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.armas-setting-desc {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: var(--armas-gray);
}

.armas-btn-save {
    background: var(--armas-blue);
    color: white;
    width: 100%;
}

/* Switch Toggle */
.armas-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

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

.armas-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .armas-slider { background-color: var(--armas-blue); }
input:checked + .armas-slider:before { transform: translateX(22px); }
input:disabled + .armas-slider { background-color: #eee; }

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .armas-cookie-container {
        left: -110% !important;
        width: 90% !important;
        bottom: 10px;
        margin: 0 5%;
    }
    .armas-cookie-container.active {
        left: 0 !important;
    }
}
