/* Base Styles */
#tc-pro-banner {
    position: fixed;
    z-index: 999999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#tc-pro-banner .tc-container {
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Presets */
.tc-preset-classic { bottom: 0; left: 0; width: 100%; }
.tc-preset-modern { bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1000px; }
.tc-preset-modern .tc-container { border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.tc-preset-glass { bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1000px; }
.tc-preset-glass .tc-container { background: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 20px; }
.tc-preset-minimal { bottom: 20px; right: 20px; width: 350px; }
.tc-preset-minimal .tc-container { flex-direction: column; text-align: left; border-radius: 12px; padding: 20px; }

@media (max-width: 768px) {
    #tc-pro-banner { width: 95% !important; left: 2.5% !important; transform: none !important; bottom: 10px !important; }
    .tc-container { flex-direction: column; text-align: center; padding: 20px; }
}

.tc-content h3 { margin: 0 0 10px 0; font-size: 18px; font-weight: 700; }
.tc-content p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.tc-actions { display: flex; gap: 10px; }

.tc-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all 0.2s;
}
.tc-btn-primary { background: #28a745; color: #fff; }
.tc-btn-secondary { background: #f0f0f1; color: #3c434a; }

/* Modal Styles */
#tc-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999999999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.tc-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tc-modal-header { padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; }
.tc-modal-header h3 { margin: 0; font-size: 20px; }
.tc-modal-close { cursor: pointer; font-size: 28px; color: #94a3b8; }

.tc-modal-tabs {
    display: flex;
    background: #f8fafc;
    padding: 5px;
    margin: 20px 30px 0;
    border-radius: 12px;
}
.tc-tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s;
}
.tc-tab-btn.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tc-modal-body {
    padding: 20px 30px;
    max-height: 400px;
    overflow-y: auto;
}

.tc-tab-pane { display: none; }
.tc-tab-pane.active { display: block; }

.tc-category-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}
.tc-category-item:last-child { border-bottom: none; }
.tc-cat-info { flex: 1; margin-right: 20px; }
.tc-cat-info strong { display: block; margin-bottom: 5px; font-size: 15px; }
.tc-cat-info p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; }

.tc-cookie-cat-group { margin-bottom: 25px; }
.tc-cookie-cat-group strong { display: block; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; margin-bottom: 10px; font-size: 14px; }

.tc-cookie-list { list-style: none; padding: 0; margin: 0; }
.tc-cookie-list li {
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 12px;
}
.tc-cookie-list li strong { color: #28a745; }
.tc-cookie-list li small { color: #94a3b8; display: block; margin-top: 2px; }

.tc-modal-footer { padding: 20px 30px; border-top: 1px solid #f1f5f9; text-align: right; }

/* Toggle Switch */
.tc-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.tc-switch input { opacity: 0; width: 0; height: 0; }
.tc-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 24px; }
.tc-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .tc-slider { background-color: #28a745; }
input:checked + .tc-slider:before { transform: translateX(20px); }

/* Revocation Widget */
#tc-revocation-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999998;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: white;
    transition: transform 0.3s;
}
#tc-revocation-widget svg { width: 28px; height: 28px; }
#tc-revocation-widget:hover { transform: scale(1.1) rotate(15deg); }
