/**
 * Cookie Law Compliance - Modern GDPR Cookie Banner
 */

/* Banner container */
.v-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Semi-transparent overlay */
.v-cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Main dialog */
.v-cookie-dialog {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.v-cookie-content {
    flex: 1;
    max-width: 800px;
}

.v-cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    padding: 0;
}

.v-cookie-description {
    margin: 0;
    color: #b0b0b0;
    font-size: 13px;
    line-height: 1.6;
}

.v-cookie-link {
    color: #8ab4f8;
    text-decoration: underline;
}

.v-cookie-link:hover {
    color: #aecbfa;
}

/* Actions */
.v-cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
.v-cookie-btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.v-cookie-btn-accept {
    background: #4CAF50;
    color: #ffffff;
}

.v-cookie-btn-accept:hover {
    background: #43A047;
}

.v-cookie-btn-preferences {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #555;
}

.v-cookie-btn-preferences:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: #888;
}

.v-cookie-btn-reject {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #555;
}

.v-cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: #888;
}

/* Preferences Panel */
.v-cookie-preferences {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.v-cookie-pref-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid #333;
}

.v-cookie-close {
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.v-cookie-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.v-cookie-pref-body {
    padding: 16px 32px;
    max-height: 300px;
    overflow-y: auto;
}

.v-cookie-category {
    padding: 12px 0;
    border-bottom: 1px solid #2a2a3e;
}

.v-cookie-category:last-child {
    border-bottom: none;
}

.v-cookie-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.v-cookie-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
    cursor: pointer;
    margin: 0;
}

.v-cookie-cat-desc {
    margin: 4px 0 0 28px;
    color: #888;
    font-size: 12px;
}

.v-cookie-pref-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 32px;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .v-cookie-dialog {
        flex-direction: column;
        padding: 20px 16px;
        gap: 16px;
    }

    .v-cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .v-cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }

    .v-cookie-pref-header,
    .v-cookie-pref-body,
    .v-cookie-pref-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .v-cookie-pref-footer {
        flex-direction: column;
    }

    .v-cookie-pref-footer .v-cookie-btn {
        width: 100%;
    }
}
