/* Main Banner Container */
#tutlo-cookie-banner {
    display: none;
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    /* Slightly softer shadow */
    z-index: 2147483647;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-height: 100vh;
    overflow-y: auto;
}

#tutlo-cookie-banner.visible {
    display: block;
    opacity: 1;
}

.tcb-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Header */
.tcb-header-area {
    padding: 20px 50px;
    /* Increased padding */
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.tcb-logo-img {
    height: 38px;
    /* Slightly larger logo breathing room */
}

/* Simple View Styling */
.tcb-simple-content {
    padding: 40px 50px;
    /* Much larger padding */
}

.tcb-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #222;
}

.tcb-text {
    font-size: 13px;
    line-height: 1.8;
    /* Relaxed line height */
    color: #444;
}

/* Footer Bottom Bar */
.tcb-footer-bar {
    padding: 20px 50px;
    /* Consistent large padding */
    background-color: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* "Show Details" Link Style */
.tcb-link-details {
    color: rgb(253, 210, 0);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.tcb-link-details:hover {
    text-decoration: underline;
}

.tcb-buttons-group {
    display: flex;
    gap: 15px;
}

/* Advanced Footer */
.tcb-footer-bar.advanced-footer {
    justify-content: flex-end;
}

/* Tabs Navigation */
.tcb-tabs-nav {
    display: flex;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 0 50px;
}

.tcb-tab-link {
    padding: 18px 25px;
    /* Larger tabs */
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tcb-tab-link.active {
    background: #fff;
    color: #000;
    border-bottom-color: rgb(253, 210, 0);
}

.tcb-tab-content {
    display: none;
    padding: 40px 50px;
    font-size: 13px;
    line-height: 1.6;
}

.tcb-tab-content.active {
    display: block;
}

/* Buttons */
.tcb-btn {
    padding: 14px 28px;
    /* Larger buttons */
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.tcb-btn-accept {
    background-color: rgb(253, 210, 0);
    color: #000;
}

.tcb-btn-accept:hover {
    background-color: #e5be00;
}

.tcb-btn-secondary {
    background-color: transparent;
    border: 1px solid #ccc;
    /* Grey border for secondary buttons usually */
    color: #333;
}

.tcb-btn-secondary:hover {
    border-color: #999;
    background-color: rgba(0, 0, 0, 0.02);
}

/* Accordions */
.tcb-accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
}

.tcb-accordion-header {
    background: #fcfcfc;
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.tcb-accordion-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    margin-right: 15px;
    transition: transform 0.2s;
}

.tcb-accordion-item.open .tcb-accordion-arrow {
    transform: rotate(180deg);
}

.tcb-accordion-title {
    flex: 1;
    font-weight: 700;
    font-size: 14px;
}

.tcb-header-toggle {
    margin-left: auto;
}

.tcb-accordion-body {
    display: none;
    padding: 25px;
    border-top: 1px solid #eee;
}

.tcb-accordion-item.open .tcb-accordion-body {
    display: block;
}

.tcb-cookie-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.tcb-cookie-table th,
.tcb-cookie-table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: left;
}

.tcb-cookie-table th {
    background: #f9f9f9;
}

/* Toggle Switch */
.tcb-switch {
    display: inline-block;
    width: 40px;
    height: 22px;
    position: relative;
    margin-right: 10px;
}

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

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

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

input:checked+.tcb-slider {
    background-color: rgb(253, 210, 0);
}

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

input:disabled+.tcb-slider {
    opacity: 0.6;
}

input:disabled:checked+.tcb-slider {
    background-color: #8bb348;
}

/* Mobile */
@media (max-width: 600px) {

    .tcb-header-area,
    .tcb-simple-content,
    .tcb-footer-bar,
    .tcb-tab-content,
    .tcb-tabs-nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tcb-footer-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .tcb-buttons-group {
        flex-direction: column;
    }

    .tcb-btn {
        width: 100%;
    }

    .tcb-link-details {
        display: block;
        margin-bottom: 10px;
        text-align: left;
    }
}