/* Cookie Banner Styles - Matching Application Design */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.cookie-banner-overlay.visible {
    background: rgba(0, 0, 0, 0.1);
    pointer-events: all;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cookie-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cookie-description:last-child {
    margin-bottom: 0;
}

.cookie-purposes {
    margin: 8px 0 12px 0;
    padding-left: 24px;
    list-style-type: disc;
}

.cookie-purposes li {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 6px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cookie-purposes li:last-child {
    margin-bottom: 0;
}

.cookie-learn-more {
    background: none;
    border: none;
    color: #ff6600;
    text-decoration: underline;
    padding: 0;
    margin-left: 4px;
    font-size: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cookie-learn-more:hover {
    color: #cc5200;
}

.cookie-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 16px;
}

.cookie-actions-primary {
    display: flex;
}

.cookie-actions-secondary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn-accept-all {
    background: #ff6600;
    color: white;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.2);
}

.btn-accept-all:hover {
    background: #cc5200;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-customize {
    background: #ffffff;
    color: #ff6600;
    border: 1px solid #ff6600;
}

.btn-customize:hover {
    background: #ff6600;
    color: white;
}

.btn-reject {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-size: 13px;
}

.btn-reject:hover {
    background: #e9ecef;
    color: #495057;
}

.cookie-banner-legal {
    border-top: 1px solid #e9ecef;
    padding-top: 12px;
    text-align: center;
}

.cookie-banner-legal small {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cookie-banner-legal a {
    color: #ff6600;
    text-decoration: none;
}

.cookie-banner-legal a:hover {
    text-decoration: underline;
}

/* Cookie Settings Modal - Modern Design Matching Website Style */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    backdrop-filter: blur(0px);
}

.cookie-settings-overlay.visible {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
}

.cookie-settings-modal {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 8px 25px -5px rgba(64, 148, 140, 0.1);
    transform: scale(0.9) translateY(-40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(64, 148, 140, 0.1);
    position: relative;
    overflow: hidden;
}

.cookie-settings-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    border-radius: 24px 24px 0 0;
}

.cookie-settings-modal.visible {
    transform: scale(1) translateY(0);
}

.cookie-settings-header {
    padding: 28px 28px 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(64, 148, 140, 0.15);
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cookie-settings-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2d2b;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
}

.cookie-settings-close {
    background: rgba(107, 114, 128, 0.1);
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-close:hover {
    background: rgba(64, 148, 140, 0.1);
    color: #40948c;
    transform: scale(1.1);
}

.cookie-settings-content {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.cookie-settings-intro {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(64, 148, 140, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(64, 148, 140, 0.1);
}

.cookie-settings-intro p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-category {
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.cookie-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(64, 148, 140, 0.3);
    background: rgba(64, 148, 140, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(64, 148, 140, 0.15);
}

.cookie-category:hover::before {
    transform: scaleY(1);
}

.cookie-category.required {
    background: rgba(64, 148, 140, 0.08);
    border-color: rgba(64, 148, 140, 0.2);
}

.cookie-category.required::before {
    transform: scaleY(1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-category-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2d2b;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
}

.cookie-category-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.5px;
}

.cookie-category-badge.required {
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(64, 148, 140, 0.2);
}

.cookie-category-description {
    margin: 0 0 16px 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* Toggle Switch - Modern Design Matching Application Style */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(156, 163, 175, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    border: 2px solid rgba(156, 163, 175, 0.2);
}

.toggle-background.enabled {
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    border-color: rgba(64, 148, 140, 0.3);
    box-shadow: 0 0 0 4px rgba(64, 148, 140, 0.1);
}

.toggle-background.disabled {
    background: rgba(156, 163, 175, 0.3);
    border-color: rgba(156, 163, 175, 0.2);
}

.toggle-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    height: 20px;
    width: 20px;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-handle::before {
    content: '';
    width: 8px;
    height: 8px;
    background: rgba(64, 148, 140, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: scale(0);
}

.toggle-handle.enabled {
    transform: translateX(24px);
}

.toggle-handle.enabled::before {
    transform: scale(1);
    background: #40948c;
}

.toggle-handle.disabled {
    transform: translateX(0);
}

.toggle-switch:not(.disabled):hover .toggle-background.disabled {
    background: rgba(156, 163, 175, 0.4);
    border-color: rgba(156, 163, 175, 0.3);
}

.toggle-switch:not(.disabled):hover .toggle-background.enabled {
    background: linear-gradient(135deg, #2d6a5f 0%, #40948c 100%);
    box-shadow: 0 0 0 6px rgba(64, 148, 140, 0.15);
}

.toggle-switch:not(.disabled):active .toggle-handle {
    transform: scale(0.95) translateX(0);
}

.toggle-switch:not(.disabled):active .toggle-handle.enabled {
    transform: scale(0.95) translateX(24px);
}

.cookie-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(64, 148, 140, 0.15);
}

.cookie-detail-item {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.cookie-detail-item:hover {
    background: rgba(64, 148, 140, 0.03);
    border-color: rgba(64, 148, 140, 0.2);
}

.cookie-detail-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-name {
    font-weight: 600;
    color: #1f2d2b;
    font-size: 14px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    padding: 4px 8px;
    background: rgba(64, 148, 140, 0.1);
    border-radius: 6px;
}

.cookie-provider,
.cookie-duration {
    color: #64748b;
    font-size: 13px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    padding: 2px 6px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 4px;
}

.cookie-purpose {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

.cookie-details-toggle {
    background: rgba(64, 148, 140, 0.1);
    border: 1px solid rgba(64, 148, 140, 0.2);
    color: #40948c;
    cursor: pointer;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
}

.cookie-details-toggle:hover {
    background: rgba(64, 148, 140, 0.15);
    color: #2d6a5f;
    transform: translateY(-1px);
}

.cookie-settings-actions {
    padding: 24px 28px;
    border-top: 1px solid rgba(64, 148, 140, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(8px);
}

.settings-actions-primary {
    display: flex;
    justify-content: center;
}

.settings-actions-secondary {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-settings-actions .btn {
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
    position: relative;
    overflow: hidden;
}

.cookie-settings-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cookie-settings-actions .btn:hover::before {
    left: 100%;
}

.btn-save-settings {
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    color: white;
    font-size: 16px;
    padding: 16px 32px;
    box-shadow: 0 4px 6px -1px rgba(64, 148, 140, 0.2);
}

.btn-save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(64, 148, 140, 0.3);
    background: linear-gradient(135deg, #2d6a5f 0%, #40948c 100%);
}

.btn-accept-all-settings {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-size: 14px;
}

.btn-accept-all-settings:hover {
    background: rgba(34, 197, 94, 0.15);
    color: #047857;
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-reject-all-settings {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
    font-size: 14px;
}

.btn-reject-all-settings:hover {
    background: rgba(107, 114, 128, 0.15);
    color: #374151;
    transform: translateY(-1px);
    border-color: rgba(107, 114, 128, 0.3);
}

/* Cookie Toolbar - Modern Design Matching Website Style */
.cookie-toolbar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9997;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-toolbar.collapsed {
    width: 60px;
    height: 60px;
}

.cookie-toolbar.expanded {
    width: 320px;
    min-height: 60px;
}

.cookie-toolbar-trigger {
    border-radius: 50%;
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 
        0 8px 25px -5px rgba(64, 148, 140, 0.4),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.cookie-toolbar-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cookie-toolbar-trigger:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 35px -5px rgba(64, 148, 140, 0.5),
        0 8px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2d6a5f 0%, #40948c 100%);
}

.cookie-toolbar-trigger:hover::before {
    opacity: 1;
}

.cookie-toolbar-trigger:active {
    transform: translateY(-2px) scale(1.02);
}

.cookie-toolbar-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 8px 25px -5px rgba(64, 148, 140, 0.1);
    padding: 20px;
    border: 1px solid rgba(64, 148, 140, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cookie-toolbar-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    border-radius: 20px 20px 0 0;
}

.cookie-toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cookie-toolbar-title {
    font-weight: 700;
    color: #1f2d2b;
    font-size: 16px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
}

.cookie-toolbar-close {
    background: rgba(107, 114, 128, 0.1);
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-toolbar-close:hover {
    background: rgba(64, 148, 140, 0.1);
    color: #40948c;
    transform: scale(1.1);
}

.cookie-toolbar-status {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(64, 148, 140, 0.15);
}

.consent-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 8px 12px;
    background: rgba(64, 148, 140, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(64, 148, 140, 0.1);
}

.status-icon {
    color: #40948c;
    font-weight: bold;
    font-size: 14px;
    width: 16px;
    height: 16px;
    background: rgba(64, 148, 140, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-text {
    font-size: 14px;
    color: #1f2d2b;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

.consent-date {
    color: #64748b;
    font-size: 12px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    margin-left: 4px;
}

.cookie-toolbar-categories {
    margin-bottom: 16px;
}

.toolbar-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    margin-bottom: 4px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.2s ease;
}

.toolbar-category:hover {
    background: rgba(64, 148, 140, 0.05);
    border-color: rgba(64, 148, 140, 0.2);
}

.category-name {
    color: #374151;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.category-status {
    font-weight: 600;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.category-status.enabled {
    color: #40948c;
    background: rgba(64, 148, 140, 0.1);
}

.category-status.disabled {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.cookie-toolbar-actions {
    display: flex;
    gap: 12px;
}

.cookie-toolbar .btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
    position: relative;
    overflow: hidden;
}

.cookie-toolbar .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cookie-toolbar .btn:hover::before {
    left: 100%;
}

.btn-manage {
    background: linear-gradient(135deg, #40948c 0%, #2d6a5f 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(64, 148, 140, 0.2);
}

.btn-manage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(64, 148, 140, 0.3);
    background: linear-gradient(135deg, #2d6a5f 0%, #40948c 100%);
}

.btn-reset {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.btn-reset:hover {
    background: rgba(107, 114, 128, 0.15);
    color: #374151;
    transform: translateY(-1px);
    border-color: rgba(107, 114, 128, 0.3);
}

.btn-icon {
    font-size: 14px;
    filter: none;
}

/* Cookie Settings Modal Mobile Responsive */
@media (max-width: 768px) {
    .cookie-settings-overlay {
        padding: 16px;
    }
    
    .cookie-settings-modal {
        border-radius: 20px;
        max-width: 100%;
        max-height: 95vh;
    }
    
    .cookie-settings-header {
        padding: 20px 20px 0 20px;
        padding-bottom: 16px;
    }
    
    .cookie-settings-title {
        font-size: 20px;
    }
    
    .cookie-settings-close {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .cookie-settings-content {
        padding: 20px;
    }
    
    .cookie-category {
        padding: 20px;
        border-radius: 12px;
    }
    
    .cookie-category-name {
        font-size: 16px;
    }
    
    .cookie-settings-actions {
        padding: 20px;
    }
    
    .settings-actions-secondary {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-settings-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-save-settings {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-settings-overlay {
        padding: 12px;
    }
    
    .cookie-settings-modal {
        border-radius: 16px;
        max-height: 98vh;
    }
    
    .cookie-settings-header {
        padding: 16px 16px 0 16px;
        padding-bottom: 12px;
    }
    
    .cookie-settings-title {
        font-size: 18px;
    }
    
    .cookie-settings-close {
        width: 36px;
        height: 36px;
        padding: 8px;
        font-size: 18px;
    }
    
    .cookie-settings-content {
        padding: 16px;
    }
    
    .cookie-settings-intro {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .cookie-settings-intro p {
        font-size: 14px;
    }
    
    .cookie-categories {
        gap: 16px;
    }
    
    .cookie-category {
        padding: 16px;
        border-radius: 12px;
    }
    
    .cookie-category-header {
        margin-bottom: 10px;
    }
    
    .cookie-category-info {
        gap: 8px;
    }
    
    .cookie-category-name {
        font-size: 15px;
    }
    
    .cookie-category-badge {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 16px;
    }
    
    .cookie-category-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .toggle-switch {
        width: 48px;
        height: 26px;
    }
    
    .toggle-handle {
        width: 18px;
        height: 18px;
        top: 4px;
        left: 4px;
    }
    
    .toggle-handle.enabled {
        transform: translateX(22px);
    }
    
    .toggle-switch:not(.disabled):active .toggle-handle.enabled {
        transform: scale(0.95) translateX(22px);
    }
    
    .cookie-settings-actions {
        padding: 16px;
        gap: 12px;
    }
    
    .cookie-settings-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .btn-save-settings {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Cookie Toolbar Mobile Responsive */
@media (max-width: 768px) {
    .cookie-toolbar {
        bottom: 16px;
        right: 16px;
    }
    
    .cookie-toolbar.collapsed {
        width: 56px;
        height: 56px;
    }
    
    .cookie-toolbar.expanded {
        width: calc(100vw - 32px);
        max-width: 300px;
        right: 16px;
    }
    
    .cookie-toolbar-trigger {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .cookie-toolbar-content {
        padding: 16px;
        border-radius: 16px;
    }
    
    .cookie-toolbar-title {
        font-size: 15px;
    }
    
    .cookie-toolbar .btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cookie-toolbar {
        bottom: 12px;
        right: 12px;
    }
    
    .cookie-toolbar.expanded {
        width: calc(100vw - 24px);
        max-width: 280px;
        right: 12px;
    }
    
    .cookie-toolbar-trigger {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    
    .cookie-toolbar-content {
        padding: 14px;
    }
    
    .cookie-toolbar-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-toolbar .btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-main {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-icon {
        font-size: 24px;
        align-self: center;
    }
    
    .cookie-title {
        font-size: 16px;
    }
    
    .cookie-actions-secondary {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-settings-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .cookie-settings-header,
    .cookie-settings-content,
    .cookie-settings-actions {
        padding: 16px;
    }
    
    .settings-actions-secondary {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cookie-detail-main {
        flex-direction: column;
        gap: 4px;
    }
    
    .cookie-toolbar.expanded {
        width: calc(100vw - 40px);
        right: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }
    
    .btn-accept-all {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .cookie-toolbar {
        bottom: 10px;
        right: 10px;
    }
    
    .cookie-toolbar.expanded {
        width: calc(100vw - 20px);
        right: 10px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-banner {
        border: 2px solid #000;
    }
    
    .btn-accept-all {
        border: 2px solid #000;
    }
    
    .cookie-settings-modal {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-settings-overlay,
    .cookie-settings-modal,
    .cookie-toolbar,
    .cookie-toolbar-trigger,
    .toggle-slider,
    .btn {
        transition: none;
    }
} 