/* ==========================================================================
   Reset & Base
   ========================================================================== */

.digiconsent-admin-wrap {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    margin: 20px 20px 0 0;
    color: #1e293b;
    line-height: 1.6;

    * {
        box-sizing: border-box;
    }
}

/* ==========================================================================
   Admin Header
   ========================================================================== */

.digiconsent-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    margin-bottom: 30px;
}

.digiconsent-admin-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.digiconsent-admin-logo {
    display: flex;

    svg {
        display: block;
    }
}

/* Admin Tabs */
.digiconsent-admin-tabs {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 5px;

    a {
        padding: 10px 20px;
        text-decoration: none;
        color: #64748b;
        font-weight: 500;
        font-size: 14px;
        border-radius: 8px;
        transition: all 0.2s ease;
        position: relative;

        &:hover {
            background: #f0fdf4;
            color: #3ca47d;
        }

        &.active {
            background: #3ca47d;
            color: #fff;
            box-shadow: 0 2px 8px rgba(60, 164, 125, 0.2);
        }
    }
}

/* Admin Actions */
.digiconsent-admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.digiconsent-admin-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;

    &:hover {
        background: #f0fdf4;
        border-color: #3ca47d;
        color: #3ca47d;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(60, 164, 125, 0.1);
    }

    &.digiconsent-admin-action-btn-primary {
        background: #3ca47d;
        border-color: #3ca47d;
        color: #fff;

        &:hover {
            background: #2c7f91;
            border-color: #2c7f91;
            box-shadow: 0 4px 12px rgba(60, 164, 125, 0.3);
        }
    }

    svg {
        width: 1em;
        height: 1em;
    }
}

/* ==========================================================================
   Content & Layout
   ========================================================================== */

/* Settings Container with Sidebar */
.digiconsent-settings-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* Sidebar Navigation */
.digiconsent-tabs-sidebar {
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 24px;
    position: sticky;
    top: 32px;

    h3 {
        color: #1f2d2b;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 24px 0 12px;

        &:first-child {
            margin-top: 0;
        }
    }

    .digiconsent-tabs-nav {
        list-style: none;
        margin: 0 0 16px;
        padding: 0;
        display: block;
        background: transparent;
        border: none;

        li {
            margin: 0;
        }

        a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            text-decoration: none;
            color: #475569;
            font-weight: 500;
            font-size: 14px;
            border-radius: 8px;
            transition: all 0.2s ease;
            border: none;

            .dashicons {
                font-size: 18px;
                width: 18px;
                height: 18px;
            }

            &:hover {
                background: #eefcff;
                color: #2c7f91;
            }

            &.active {
                background: #2c7f91;
                color: #fff;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            }
        }
    }
}

/* Main Content Area */
.digiconsent-tab-content-wrapper {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 40px;
}

/* ==========================================================================
   Admin Sections & Cards
   ========================================================================== */

.digiconsent-admin-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    margin-bottom: 24px;
    padding: 30px;
    transition: all 0.2s ease;

    &:hover {
        box-shadow: 0 4px 12px rgba(60, 164, 125, 0.12);
    }
}

.digiconsent-section-header {
    margin-bottom: 24px;

    h2 {
        margin: 0 0 8px;
        font-size: 20px;
        font-weight: 600;
        color: #1f2d2b;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    p {
        margin: 0;
        font-size: 14px;
        color: #64748b;
        line-height: 1.6;
    }
}

/* ==========================================================================
   Dashboard Layout
   ========================================================================== */

.digiconsent-dashboard-columns {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.digiconsent-dashboard-col {
    flex: 1;
}

.digiconsent-dashboard-first {
    flex: 2;
}

.digiconsent-dashboard-second {
    flex: 1;
}

/* Stats Cards */
.digiconsent-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.digiconsent-stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 28px;
    transition: all 0.2s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(60, 164, 125, 0.15);
    }

    h3 {
        margin: 0 0 12px;
        font-size: 13px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .value {
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        color: #3ca47d;
        line-height: 1;
    }

    .subvalue {
        margin-top: 8px;
        font-size: 14px;
        color: #64748b;
    }
}

/* ==========================================================================
   Promo Cards
   ========================================================================== */

.digiconsent-promo-section {
    display: flex;
    flex-direction: column;
    background-color: #ecf5f2;
    border: 1px solid #bedfd1;
    border-radius: 12px;
    overflow: hidden;
    padding: 1.75rem;
    position: relative;

    .digiconsent-promo-product {
        display: flex;
        flex-direction: column;
    }

    .digiconsent-promo-badge {
        display: flex;
        margin-bottom: 1.5rem;
    }

    .digiconsent-promo-badge-inner {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 12px;
        background-color: #c8e3d9;
        color: #143a2c;
        border-radius: 16px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid #beded1;
    }

    .digiconsent-promo-title {
        color: #1d2327;
        font-size: 22px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0 0 0.25rem;
    }

    .digiconsent-promo-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 0 20px;
    }

    .digiconsent-promo-features {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 2rem;
    }

    .digiconsent-promo-feature {
        display: flex;
        align-items: center;
        font-size: 13px;
        gap: 10px;

        svg {
            color: #3ca47d;
        }
    }

    .digiconsent-promo-actions {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .digiconsent-button-primary {
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        font-size: 14px;
        font-weight: 500;
        gap: 8px;
        text-decoration: none;
        background-color: #3ca47d;
        box-shadow: 0 0.1875rem 0.3125rem rgba(60, 164, 125, 0.2);
        color: #fff;
        height: auto;
        padding: 0.5rem 1.125rem;
        transition: all 0.2s ease;

        svg {
            height: 14px;
            transition: transform 0.2s ease;
            width: 14px;
        }

        &:hover {
            background-color: #2c7f91;
            color: #fff;
            box-shadow: 0 0.25rem 0.5rem rgba(44, 127, 145, 0.3);
            transform: translateY(-0.0625rem);

            svg {
                transform: translateX(3px);
            }
        }
    }
}

.digiconsent-resources-section {
    padding: 0;

    .digiconsent-section-header {
        border-bottom: 1px solid #eee;
        margin: 0;
        padding: 20px 30px;

        h2 {
            margin: 0;
        }
    }
}

.digiconsent-resources-container {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.digiconsent-resource-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background: #fff;
    transition: all 0.2s ease;

    &:hover {
        border-color: #3ca47d;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.digiconsent-resource-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;

    h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #1d2327;
    }
}

.digiconsent-resource-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 164, 125, 0.1);
    border-radius: 4px;
    flex-shrink: 0;

    svg {
        width: 20px;
        height: 20px;
    }
}

.digiconsent-resource-content {
    p {
        margin: 0 0 15px;
        font-size: 13px;
        line-height: 1.5;
        color: #50575e;
    }
}

.digiconsent-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3ca47d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;

    &:hover {
        color: #2d8a63;
        text-decoration: underline;
    }

    svg {
        width: 12px;
        height: 12px;
        fill: currentColor;
    }
}

@media screen and (max-width: 782px) {
    .digiconsent-promo-product {
        grid-template-columns: 1fr;
    }

    .digiconsent-resources-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Forms & Settings
   ========================================================================== */

.digiconsent-tab-content {
    padding: 0;
}

.digiconsent-form-section {
    margin-bottom: 48px;

    &:last-child {
        margin-bottom: 0;
    }

    h2 {
        margin: 0 0 24px;
        font-size: 20px;
        font-weight: 600;
        color: #1f2d2b;
        padding-bottom: 12px;
        border-bottom: 2px solid #e2e8f0;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 80px;
            height: 2px;
            background: #3ca47d;
        }
    }

    h3 {
        margin: 32px 0 20px;
        font-size: 16px;
        font-weight: 600;
        color: #3ca47d;
    }

    p.description {
        margin: 0 0 24px;
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Form Wrapper - Contains all fields for a section */
.digiconsent-form-wrapper {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 20px;
}

/* Form Rows - Individual fields with border-top separator */
.digiconsent-form-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    transition: all 0.2s ease;

    &:first-child {
        border-top: none;
    }

    > label:not(.digiconsent-toggle-switch) {
        flex: 0 0 220px;
        font-weight: 600;
        color: #1f2d2b;
        font-size: 14px;
    }

    .digiconsent-toggle-caption label {
        font-weight: 600;
        color: #1f2d2b;
        font-size: 14px;
    }

    > div:not(.digicontent-no-flex) {
        flex: 1;
    }

    > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="number"],
    input[type="password"],
    textarea {
        width: 100%;
        max-width: 100%;
        padding: 10px 14px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 14px;
        background: #fff;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

        &:focus {
            outline: none;
            border-color: #3ca47d;
            box-shadow: 0 0 0 3px rgba(60, 164, 125, 0.1);
        }
    }

    select {
        width: 100%;
        max-width: 100%;
        padding: 10px 14px;
        padding-right: 40px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 14px;
        background: #fff
            url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E)
            no-repeat right 5px top 55%;
        appearance: none;
        transition: all 0.2s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        cursor: pointer;

        &:focus {
            outline: none;
            border-color: #3ca47d;
            box-shadow: 0 0 0 3px rgba(60, 164, 125, 0.1);
        }
    }

    textarea {
        min-height: 120px;
        resize: vertical;
    }

    .description {
        margin: 0;
        font-size: 13px;
        color: #64748b;
        font-style: italic;
        line-height: 1.5;
    }

    .digiconsent-checkboxes-wrapper label {
        flex: 0 0 auto;
    }
}

/* ==========================================================================
   Toggle Switch
   ========================================================================== */

.digiconsent-form-row .digiconsent-toggle-caption {
    flex: 0 0 220px;
}

label.digiconsent-toggle-switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
    flex: 0 0 auto;

    input {
        opacity: 0;
        width: 0;
        height: 0;
    }
}

.digiconsent-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 2.125rem;
    transition: 0.4s;

    &:before {
        position: absolute;
        content: "";
        height: 1.25rem;
        width: 1.25rem;
        left: 0.125rem;
        bottom: 0.125rem;
        background-color: white;
        border-radius: 50%;
        transition: 0.3s;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    }
}

.digiconsent-toggle-switch input:checked + .digiconsent-toggle-slider {
    background-color: #3ca47d;
}

.digiconsent-toggle-switch input:focus + .digiconsent-toggle-slider {
    box-shadow: 0 0 0.125rem #3ca47d;
}

.digiconsent-toggle-switch input:checked + .digiconsent-toggle-slider:before {
    transform: translateX(1.5rem);
}

/* ==========================================================================
   Script Tabs (Code Editor)
   ========================================================================== */

.digiconsent-script-tabs {
    margin-top: 24px;
}

.digiconsent-script-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}

.digiconsent-script-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;

    .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    &:hover {
        color: #3ca47d;
        background: #f0fdf4;
        border-radius: 8px 8px 0 0;
    }

    &.active {
        color: #3ca47d;
        border-bottom-color: #3ca47d;
    }
}

.digiconsent-script-tabs-content {
    position: relative;
}

.digiconsent-script-tab-pane {
    display: none;

    &.active {
        display: block;
    }
}

.digiconsent-code-editor {
    min-height: 300px;
    padding: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-family:
        "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.digiconsent-script-help {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.digiconsent-help-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    h4 {
        display: block;
        color: #1d4ed8;
        font-weight: 600;
        margin: 0;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin: 0;

        li {
            margin: 0;
        }
    }

    pre {
        margin: 0;
    }
}

/* ==========================================================================
   Buttons & Actions
   ========================================================================== */

.digiconsent-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid #e2e8f0;

    .button-primary {
        background-color: #3ca47d;
        border-color: #3ca47d;
        color: #fff;
        box-shadow: 0 0.1875rem 0.3125rem rgba(60, 164, 125, 0.2);
        padding: 0.375rem 1.125rem;
        height: auto;
        font-weight: 500;
        transition: all 0.2s ease;

        &:hover,
        &:focus {
            background-color: #2c7f91;
            border-color: #2c7f91;
            transform: translateY(-0.0625rem);
            box-shadow: 0 0.25rem 0.5rem rgba(44, 127, 145, 0.3);
        }
    }
}

.digiconsent-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #3ca47d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(60, 164, 125, 0.2);

    &:hover {
        background: #2c7f91;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(60, 164, 125, 0.3);
    }

    &:focus {
        color: #fff;
    }

    &:active {
        transform: translateY(0);
    }

    &.digiconsent-btn-secondary {
        background: #fff;
        color: #3ca47d;
        border: 1px solid #3ca47d;
        box-shadow: none;

        &:hover {
            background: #f0fdf4;
            box-shadow: 0 2px 8px rgba(60, 164, 125, 0.15);
        }
    }
}

/* ==========================================================================
   Notices
   ========================================================================== */

.digiconsent-notice {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideDown 0.3s ease;

    &::before {
        font-family: "dashicons";
        font-size: 20px;
        line-height: 1;
    }

    &.digiconsent-notice-success {
        background: #ecfdf5;
        color: #065f46;

        &::before {
            content: "\f147";
            color: #3ca47d;
        }
    }

    &.digiconsent-notice-error,
    &.digiconsent-notice-warning {
        background: #fef2f2;
        color: #991b1b;

        &::before {
            content: "\f534";
            color: #ef4444;
        }
    }

    &.digiconsent-notice-warning {
        margin-top: 24px;
        margin-bottom: 0;
    }

    &.digiconsent-notice-text {
        gap: 0.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Tabs System
   ========================================================================== */

.digiconsent-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    overflow: hidden;
}

.digiconsent-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;

    li {
        margin: 0;
    }

    a {
        display: block;
        padding: 16px 28px;
        text-decoration: none;
        color: #64748b;
        font-weight: 500;
        border-bottom: 2px solid transparent;
        transition: all 0.2s ease;

        &:hover {
            background: #fff;
            color: #3ca47d;
        }

        &.active {
            background: #fff;
            color: #3ca47d;
            border-bottom-color: #3ca47d;
        }
    }
}

/* ==========================================================================
   Logs Table
   ========================================================================== */

.digiconsent-logs-table {
    width: 100%;
    border-collapse: collapse;

    thead {
        background: #f8fafc;

        th {
            padding: 14px;
            text-align: left;
            font-weight: 600;
            color: #1f2d2b;
            border-bottom: 2px solid #e2e8f0;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
    }

    tbody {
        tr {
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.2s ease;

            &:hover {
                background: #f0fdf4;
            }
        }

        td {
            padding: 14px;
            color: #64748b;
            font-size: 14px;
        }
    }
}

.digiconsent-pagination {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 1.5rem;

    a,
    span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    a {
        background: #fff;
        color: #64748b;
        border: 1px solid #e2e8f0;

        &:hover {
            background: #f0fdf4;
            border-color: #3ca47d;
            color: #3ca47d;
        }
    }

    span.current {
        background: #3ca47d;
        color: #fff;
        border: 1px solid #3ca47d;
    }
}

/* ==========================================================================
   Analytics
   ========================================================================== */

.digiconsent-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;

    .digiconsent-stat-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
        padding: 24px;
        transition: all 0.2s ease;

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(60, 164, 125, 0.15);
        }
    }

    .digiconsent-stat-icon {
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(99, 102, 241, 0.1);
        border-radius: 12px;
        flex-shrink: 0;

        svg {
            width: 28px;
            height: 28px;
            color: #6366f1;
        }

        &.digiconsent-stat-icon-success {
            background: rgba(16, 185, 129, 0.1);

            svg {
                color: #10b981;
            }
        }

        &.digiconsent-stat-icon-danger {
            background: rgba(239, 68, 68, 0.1);

            svg {
                color: #ef4444;
            }
        }

        &.digiconsent-stat-icon-info {
            background: rgba(99, 102, 241, 0.1);

            svg {
                color: #6366f1;
            }
        }
    }

    .digiconsent-stat-content {
        flex: 1;

        h4 {
            margin: 0 0 8px;
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .digiconsent-stat-number {
            margin: 0 0 4px;
            font-size: 32px;
            font-weight: 700;
            color: #1f2d2b;
            line-height: 1;
        }

        .digiconsent-stat-label {
            font-size: 12px;
            color: #94a3b8;
        }
    }
}

.digiconsent-analytics-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 20px 24px;
    margin-bottom: 24px;

    .digiconsent-filter-group {
        display: flex;
        align-items: center;
        gap: 10px;

        &.digiconsent-custom-date-range {
            flex-wrap: wrap;
        }

        label {
            font-size: 14px;
            font-weight: 500;
            color: #64748b;
            margin: 0;
        }

        select,
        input[type="date"] {
            padding: 8px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
            color: #1f2d2b;
            background: #fff;
            transition: all 0.2s ease;

            &:hover {
                border-color: #3ca47d;
            }

            &:focus {
                outline: none;
                border-color: #3ca47d;
                box-shadow: 0 0 0 3px rgba(60, 164, 125, 0.1);
            }
        }

        button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            background: #fff;
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;

            &:hover {
                background: #f0fdf4;
                color: #3ca47d;
                border-color: #3ca47d;
            }

            &.button-primary {
                background: #3ca47d;
                color: #fff;
                border-color: #3ca47d;

                &:hover {
                    background: #2c7f91;
                    border-color: #2c7f91;
                }
            }
        }
    }
}

.digiconsent-analytics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.digiconsent-chart-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 24px;
    transition: all 0.2s ease;
    flex: 1 1 calc(50% - 12px);
    min-width: 0;

    &:hover {
        box-shadow: 0 8px 20px rgba(60, 164, 125, 0.1);
    }

    h3 {
        margin: 0 0 20px;
        font-size: 16px;
        font-weight: 600;
        color: #1f2d2b;
    }

    &.digiconsent-chart-full-width {
        flex: 1 1 100%;
    }

    &.digiconsent-chart-half-width {
        flex: 1 1 calc(50% - 12px);
    }
}

@media (max-width: 1200px) {
    .digiconsent-chart-container {
        flex: 1 1 100%;
    }

    .digiconsent-chart-container.digiconsent-chart-half-width {
        flex: 1 1 100%;
    }
}

.digiconsent-action-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    &.digiconsent-action-accept {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
    }

    &.digiconsent-action-reject {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
    }

    &.digiconsent-action-custom {
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1;
    }

    &.digiconsent-action-unknown {
        background: rgba(100, 116, 139, 0.1);
        color: #64748b;
    }
}

/* ==========================================================================
   Import/Export
   ========================================================================== */

.digiconsent-import-export-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 164, 125, 0.08);
    padding: 32px;
    margin-bottom: 24px;

    h3 {
        margin: 0 0 16px;
        font-size: 18px;
        font-weight: 600;
        color: #1f2d2b;
    }

    p {
        margin: 0 0 20px;
        font-size: 14px;
        color: #64748b;
        line-height: 1.6;
    }

    input[type="file"] {
        display: none;
    }
}

/* ==========================================================================
   Coloris Color Picker
   ========================================================================== */

.digiconsent-form-row > div.digiconsent-coloris-wrapper {
    align-items: center;
    flex-direction: row;
}

.digiconsent-coloris-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;

    .clr-field {
        display: flex;
        align-items: center;
        position: relative;
        color: inherit;
        flex: 1;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 14px;
        margin: 0;
        background: #fff;
        transition: all 0.2s ease;
        overflow: hidden;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

        button {
            cursor: pointer;
            pointer-events: auto;
            border-right: 1px solid #cbd5e1;
            transition: all 0.2s ease;
            width: 2.5rem;
            right: auto;
            left: 0;

            &:hover,
            &:focus {
                outline: none;
                box-shadow: none;
            }

            &:after {
                box-shadow: none;
            }
        }

        input {
            flex: 1;
            padding: 0.5rem 0.8rem 0.5rem 3.2rem;
            border: none;
            border-radius: 0;
            font-size: 14px;
            transition: all 0.2s ease;
            margin: 0;
            color: #1e293b;
            box-shadow: none;

            &:focus {
                outline: none;
                box-shadow: none;
            }
        }
    }
}

.digiconsent-color-picker {
    width: 100%;
}

.digiconsent-coloris-reset {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;

    &:hover {
        background: #fff;
        color: #3ca47d;
        border-color: #3ca47d;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(60, 164, 125, 0.2);
    }

    &:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(60, 164, 125, 0.1);
    }
}

/* Coloris picker customization - match plugin theme */
.clr-picker {
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.clr-segmented input:checked + label {
    background-color: #3ca47d !important;
}

/* ==========================================================================
   Button Color Tabs (Normal/Hover)
   ========================================================================== */

.digiconsent-button-color-tabs {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.digiconsent-color-tabs-nav {
    display: flex;
    gap: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.digiconsent-color-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;

    &:hover {
        background: rgba(60, 164, 125, 0.05);
        color: #3ca47d;
    }

    &.active {
        background: #fff;
        color: #3ca47d;
        border-bottom-color: #3ca47d;
        font-weight: 600;
    }

    &:focus {
        outline: none;
        box-shadow: none;
    }
}

.digiconsent-color-tabs-content {
    padding: 20px;
    background: #fff;
}

.digiconsent-color-tab-pane {
    display: none;

    &.active {
        display: block;
    }
}

.digiconsent-color-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.digiconsent-color-field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    label {
        font-weight: 500;
        font-size: 13px;
        color: #64748b;
        margin: 0;
    }
}

/* ==========================================================================
   Button Group
   ========================================================================== */

.digiconsent-button-group {
    display: inline-flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.digiconsent-button-group-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.digiconsent-button-group-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.digiconsent-button-group-option span {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    background: #fff;
    border-right: 1px solid #cbd5e1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.digiconsent-button-group-option:last-child span {
    border-right: none;
}

.digiconsent-button-group-option:hover span {
    background: #f0fdf4;
    color: #3ca47d;
}

.digiconsent-button-group-option input[type="radio"]:checked + span {
    background: #3ca47d;
    color: #fff;
    font-weight: 600;
}

/* ==========================================================================
   Layout Options
   ========================================================================== */

.digiconsent-layout-wrap {
    width: 100%;
}

.digiconsent-layout-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.digiconsent-layout-option {
    margin: 0;
    flex: 1;
    max-width: 100px;
    min-width: 80px;
    cursor: pointer;

    input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;

        &:checked + .digiconsent-layout-preview {
            box-shadow: 0 4px 16px rgba(60, 164, 125, 0.2);
        }

        &:checked + .digiconsent-layout-preview .digiconsent-layout-visual {
            border-color: #3ca47d;
            border-width: 2px;
        }
    }

    &:hover .digiconsent-layout-preview {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(60, 164, 125, 0.15);
    }
}

.digiconsent-layout-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.digiconsent-layout-visual {
    width: 100%;
    height: 80px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.digiconsent-layout-banner {
    position: absolute;
    background: #3ca47d;
    border-radius: 2px;
}

.digiconsent-layout-visual-bottom .digiconsent-layout-banner {
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
}

.digiconsent-layout-visual-top .digiconsent-layout-banner {
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
}

.digiconsent-layout-visual-side .digiconsent-layout-banner {
    left: 0;
    bottom: 0;
    width: 50px;
    height: 35px;
}

.digiconsent-layout-visual-fullscreen .digiconsent-layout-banner {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
}

/* Global Default Layout Visual */
.digiconsent-layout-visual-global {
    display: flex;
    align-items: center;
    justify-content: center;
}

.digiconsent-layout-global-icon {
    font-size: 32px;
    font-weight: 700;
    color: #3ca47d;
    line-height: 1;
}

/* Custom Tooltip */
.digiconsent-tooltip {
    position: fixed;
    background: #1f2d2b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.digiconsent-tooltip-visible {
    opacity: 1;
}

/* Target Type Visual Selector */
.digiconsent-target-type-options {
    max-width: 100%;
}

.digiconsent-target-type-option {
    max-width: 100px;
    min-width: 90px;
}

.digiconsent-target-type-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.digiconsent-target-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Media Upload Field
   ========================================================================== */

.digiconsent-media-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.digiconsent-media-preview {
    width: 200px;
    height: 100px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.digiconsent-media-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.digiconsent-media-preview:empty::before {
    content: "No logo selected";
    color: #94a3b8;
    font-size: 13px;
}

.digiconsent-media-buttons {
    display: flex;
    gap: 8px;

    .button {
        color: #fff;
        box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.2);
        padding: 0.375rem 1.125rem;
        height: auto;
        font-weight: 500;
        transition: all 0.2s ease;

        &:hover,
        &:focus {
            color: #fff;
            box-shadow: none;
        }
    }

    .digiconsent-upload-media-btn,
    .digiconsent-upload-hero-media-btn,
    .digiconsent-upload-rule-hero-media-btn {
        background-color: #3c68a4;
        border-color: #3c68a4;

        &:hover,
        &:focus {
            background-color: #4b83d2;
            border-color: #4b83d2;
        }
    }

    .digiconsent-reset-media-btn,
    .digiconsent-remove-media-btn,
    .digiconsent-remove-hero-media-btn,
    .digiconsent-remove-rule-hero-media-btn {
        background-color: #df4a4a;
        border-color: #df4a4a;

        &:hover,
        &:focus {
            background-color: #a43c3c;
            border-color: #a43c3c;
        }
    }
}

/* ==========================================================================
   Conditional Field Visibility
   ========================================================================== */

.digiconsent-form-row[data-show-when] {
    display: none;
}

.digiconsent-form-row[data-show-when].digiconsent-field-visible {
    display: flex;
}

/* ==========================================================================
   Import/Export
   ========================================================================== */

.button {
    &#digiconsent-export-settings,
    &#digiconsent-import-settings {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #3c68a4;
        border-color: #3c68a4;
        color: #fff;
        box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.2);
        padding: 0.375rem 1.125rem;
        height: auto;
        font-weight: 500;
        transition: all 0.2s ease;

        svg {
            fill: currentColor;
        }

        &:hover,
        &:focus {
            background-color: #4b83d2;
            border-color: #4b83d2;
            color: #fff;
            box-shadow: none;
        }
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1580px) {
    .digiconsent-dashboard-columns {
        flex-direction: column;
    }

    .digiconsent-dashboard-col {
        width: 100%;
    }
}

@media (max-width: 1530px) {
    .digiconsent-admin-actions .text {
        display: none;
    }
}

@media (max-width: 1280px) {
    .digiconsent-settings-container {
        flex-direction: column;
    }

    .digiconsent-admin-actions {
        display: none;
    }

    .digiconsent-tabs-sidebar {
        min-width: 100%;
        position: static;
    }
}

@media (max-width: 1080px) {
    .digiconsent-dashboard-columns {
        flex-direction: column;
    }

    .digiconsent-dashboard-col {
        width: 100%;
    }

    .digiconsent-admin-logo-wrapper {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .digiconsent-admin-tabs {
        width: 100%;

        a {
            width: 100%;
            text-align: center;
        }
    }
}

@media (max-width: 880px) {
    .digiconsent-admin-header {
        flex-wrap: wrap;
        gap: 20px;
    }

    .digiconsent-admin-tabs {
        flex-wrap: wrap;
    }

    .digiconsent-dashboard-columns {
        flex-direction: column;
    }

    .digiconsent-form-row:not(.digiconsent-toggle-wrapper) {
        flex-direction: column;
        gap: 12px;

        &.digiconsent-toggle-wrapper {
            gap: 1rem;
        }

        label {
            flex: 1;
            padding-top: 0;
        }
    }

    .digiconsent-form-row .digiconsent-toggle-caption {
        flex: 0 0 auto;
    }

    .digiconsent-toggle-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .digiconsent-resources-grid {
        grid-template-columns: 1fr;
    }

    .digiconsent-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 570px) {
    .digiconsent-tab-content-wrapper {
        padding: 24px;
    }

    .digiconsent-admin-section {
        padding: 20px;
    }

    .digiconsent-script-tabs-nav {
        flex-direction: column;
    }

    .digiconsent-form-actions {
        flex-direction: column;
    }

    .digiconsent-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Pro CTA Box
   ========================================================================== */

.digiconsent-pro-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 2px dashed #3ca47d;
    border-radius: 12px;
    padding: 32px;
}

.digiconsent-pro-cta h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;

    &::after {
        display: none;
    }
}

.digiconsent-pro-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.digiconsent-pro-cta-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3ca47d 0%, #2c7f91 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    .dashicons {
        font-size: 32px;
        width: 32px;
        height: 32px;
        color: #fff;
    }
}

.digiconsent-pro-cta-text {
    flex: 1;

    h3 {
        margin: 0 0 12px;
        font-size: 18px;
        font-weight: 600;
        color: #1f2d2b;
    }

    p {
        margin: 0 0 16px;
        font-size: 14px;
        color: #64748b;
        line-height: 1.6;
    }
}

.digiconsent-pro-features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;

    li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #1f2d2b;
        font-weight: 500;

        .dashicons {
            font-size: 16px;
            width: 16px;
            height: 16px;
            color: #3ca47d;
        }
    }
}

.digiconsent-pro-cta .button-primary.button-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3ca47d 0%, #2c7f91 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(60, 164, 125, 0.3);
    transition: all 0.2s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(60, 164, 125, 0.4);
    }

    .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 768px) {
    .digiconsent-pro-cta-content {
        flex-direction: column;
    }

    .digiconsent-pro-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Shortcode Documentation Section
   ========================================================================== */

.digiconsent-shortcode-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.digiconsent-shortcode-item {
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: all 0.2s ease;

    &:hover {
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
}

.digiconsent-shortcode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;

    h4 {
        margin: 0;
        font-size: 0.9375rem;
        font-weight: 600;
        color: #1f2d2b;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.digiconsent-copy-shortcode {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background-color: #3c68a4 !important;
    border-color: #3c68a4 !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    padding: 0.375rem 0.75rem !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(60, 104, 164, 0.2);
    transition: all 0.2s ease;

    .dashicons {
        font-size: 0.875rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    &:hover,
    &:focus {
        background-color: #4b83d2 !important;
        border-color: #4b83d2 !important;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(60, 104, 164, 0.25);
    }

    &.copied {
        background: linear-gradient(
            135deg,
            #3ca47d 0%,
            #2c7f91 100%
        ) !important;
        border-color: #3ca47d !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(60, 164, 125, 0.3);
    }
}

.digiconsent-shortcode-code {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Mono", monospace;
    font-size: 0.8125rem;
    color: #1e293b;
    word-break: break-all;
    margin-bottom: 0.625rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.digiconsent-shortcode-item p.description {
    margin: 0;
    font-size: 0.8125rem;
}

/* ==========================================================================
   Optional Cookies Section
   ========================================================================== */

.digiconsent-optional-cookies-section {
    > .description {
        margin: 0 0 1.25rem;
        font-size: 0.8125rem;
        color: #64748b;
        line-height: 1.5;
    }
}

.digiconsent-optional-cookies-group {
    margin-bottom: 1.5rem;

    &:last-child {
        margin-bottom: 0;
    }
}

.digiconsent-optional-cookies-service {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2d2b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.digiconsent-optional-cookies-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.digiconsent-optional-cookie-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;

    &:hover {
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .digiconsent-toggle-switch {
        flex-shrink: 0;
    }
}

.digiconsent-optional-cookie-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.digiconsent-optional-cookie-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2d2b;
}

.digiconsent-optional-cookie-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}
