/* =====================
   Cookie Banner
===================== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    display: none; /* JS kontrolira */
    border: 2px solid #5fcf80;
    border-radius: 12px;
}

.cookie-banner.top {
    top: 0;
    bottom: auto;
}

.cookie-banner.bottom {
    bottom: 0;
    top: auto;
}

.cookie-banner.center {
    top: 50%;
    transform: translateY(-50%);
}

.cookie-banner.light {
    background: #ffffff;
    color: #333;
}

.cookie-banner.dark {
    background: #1a1a1a;
    color: #fff;
}

/* =====================
   Wrapper
===================== */
.cookie-consent-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================
   Content
===================== */
.cookie-consent-title {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.cookie-consent-description {
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.cookie-consent-link {
    color: #007bff;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

/* =====================
   Actions & Buttons
===================== */
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cookie-consent-btn-primary {
    background: #007bff;
    color: white;
}

.cookie-consent-btn-primary:hover {
    background: #0056b3;
}

.cookie-consent-btn-secondary {
    background: #6c757d;
    color: white;
}

.cookie-consent-btn-secondary:hover {
    background: #545b62;
}

.cookie-consent-btn-tertiary {
    background: transparent;
    color: inherit;
    border: 1px solid #ccc;
}

.cookie-consent-btn-tertiary:hover {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
}

/* =====================
   Categories
===================== */
.cookie-consent-categories {
    margin-bottom: 20px;
}

.cookie-consent-category {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.cookie-consent-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 5px;
}

.cookie-consent-checkbox {
    margin-right: 10px;
}

.cookie-consent-required {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.7;
    margin-left: 5px;
}

.cookie-consent-category-description {
    margin: 5px 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =====================
   Cookie Details Table
===================== */
.cookie-details-toggle {
    margin-top: 5px;
    font-size: 0.85rem;
}

.cookie-details {
    margin-top: 10px;
    overflow-x: auto;
}

.cookie-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.cookie-details-table th,
.cookie-details-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cookie-details-table th {
    font-weight: 600;
    background: #e9ecef;
}

/* =====================
   Floating Settings Button
===================== */
.cookie-settings-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999998;
    display: none; /* JS kontrolira */
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cookie-settings-floating:hover {
    background: #0056b3;
    transform: scale(1.1);
}
