/* 
 * ABDC Multi-Level Form - Design Brasil
 * Paleta de Cores: Verde, Amarelo, Azul e Branco (Bandeira Brasil)
 * Especialista Front-end: Manus AI
 */

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap');

:root {
    --abdc-primary: #005005; /* Verde Brasil */
    --abdc-secondary: #011150; /* Azul Brasil */
    --abdc-accent: #fcd111; /* Amarelo Brasil */
    --abdc-text: #333333;
    --abdc-text-light: #68696b;
    --abdc-bg-light: #f4f4f4;
    --abdc-white: #ffffff;
    --abdc-border: #e1e1e1;
    --abdc-radius: 4px;
    --abdc-font: 'Lexend Deca', sans-serif;
}

.abdc-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 0;
    background: var(--abdc-white);
    border-radius: var(--abdc-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    font-family: var(--abdc-font);
    color: var(--abdc-text);
    overflow: hidden;
    border-top: 5px solid var(--abdc-primary);
    position: relative;
}

.abdc-form-header {
    text-align: center;
    padding: 40px 30px 20px;
    background-color: var(--abdc-white);
}

.abdc-form-header h2 {
    margin: 0 0 15px 0;
    color: var(--abdc-secondary);
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.abdc-form-header p {
    margin: 0;
    color: var(--abdc-text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Progress Bar */
.abdc-form-progress {
    padding: 0 40px;
    margin-bottom: 30px;
}

.abdc-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--abdc-bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.abdc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--abdc-primary) 0%, var(--abdc-secondary) 50%, var(--abdc-accent) 100%);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.abdc-progress-text {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--abdc-primary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Form Content */
.abdc-form-content {
    padding: 0 40px 40px;
    position: relative;
    min-height: 200px;
}

/* Form Steps - Corrigido para garantir que fiquem ocultos por padrão */
.abdc-form-step {
    display: none !important;
}

.abdc-form-step.active {
    display: block !important;
    animation: abdcFadeIn 0.5s ease forwards;
}

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

.abdc-form-step h3 {
    margin: 0 0 25px 0;
    color: var(--abdc-secondary);
    font-size: 20px;
    font-weight: 500;
    border-bottom: 3px solid var(--abdc-accent);
    padding-bottom: 10px;
}

/* Form Info Box */
.abdc-form-info {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.05) 0%, rgba(1, 17, 80, 0.05) 100%);
    padding: 20px;
    border-left: 4px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--abdc-text);
    line-height: 1.5;
}

/* Select Elements */
.abdc-select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    font-size: 15px;
    color: var(--abdc-text);
    background-color: var(--abdc-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--abdc-font);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23005005' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.abdc-select:hover {
    border-color: var(--abdc-primary);
}

.abdc-select:focus {
    outline: none;
    border-color: var(--abdc-primary);
    box-shadow: 0 0 0 3px rgba(0, 80, 5, 0.1);
}

/* Buttons */
.abdc-form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.abdc-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: var(--abdc-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--abdc-font);
}

.abdc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.abdc-btn-next,
.abdc-btn-submit {
    background-color: var(--abdc-primary);
    color: var(--abdc-white);
}

.abdc-btn-next:hover:not(:disabled),
.abdc-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--abdc-primary) 0%, var(--abdc-secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 5, 0.2);
}

.abdc-btn-back,
.abdc-btn-reset {
    background-color: var(--abdc-bg-light);
    color: var(--abdc-secondary);
    border: 2px solid var(--abdc-accent);
}

.abdc-btn-back:hover:not(:disabled),
.abdc-btn-reset:hover:not(:disabled) {
    background-color: var(--abdc-accent);
    color: var(--abdc-secondary);
    transform: translateY(-2px);
}

/* Success State */
.abdc-form-success {
    text-align: center;
    padding: 20px 0;
}

.abdc-success-icon {
    font-size: 70px;
    color: var(--abdc-primary);
    margin-bottom: 25px;
}

.abdc-form-success h3 {
    color: var(--abdc-secondary);
    font-size: 26px;
    margin-bottom: 20px;
    border: none;
}

.abdc-result-summary {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.08) 0%, rgba(252, 209, 17, 0.08) 100%);
    border: 2px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
    font-size: 15px;
    color: var(--abdc-secondary);
}

.abdc-result-summary p {
    margin: 10px 0;
    border-bottom: 1px solid rgba(0, 80, 5, 0.1);
    padding-bottom: 8px;
}

.abdc-result-summary p:last-child {
    border: none;
}

.abdc-result-message {
    background: linear-gradient(135deg, rgba(252, 209, 17, 0.1) 0%, rgba(0, 80, 5, 0.05) 100%);
    border-left: 5px solid var(--abdc-accent);
    border-radius: var(--abdc-radius);
    padding: 20px;
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--abdc-text);
    line-height: 1.7;
    text-align: left;
}

/* Loading - Corrigido para sobrepor o conteúdo */
.abdc-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.abdc-loading.active {
    display: flex;
}

.abdc-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--abdc-bg-light);
    border-top-color: var(--abdc-primary);
    border-right-color: var(--abdc-accent);
    border-radius: 50%;
    animation: abdcSpin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    margin-bottom: 15px;
}

@keyframes abdcSpin {
    to { transform: rotate(360deg); }
}

/* View Existing Submission */
.abdc-form-view {
    text-align: center;
    padding: 20px 0;
}

.abdc-view-icon {
    font-size: 70px;
    color: var(--abdc-secondary);
    margin-bottom: 25px;
    display: block;
}

.abdc-form-view h3 {
    color: var(--abdc-secondary);
    font-size: 26px;
    margin-bottom: 10px;
    border: none;
}

.abdc-view-subtitle {
    color: var(--abdc-text-light);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.abdc-view-summary {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.08) 0%, rgba(252, 209, 17, 0.08) 100%);
    border: 2px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    padding: 25px;
    margin-bottom: 25px;
    text-align: left;
}

.abdc-view-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 80, 5, 0.1);
    font-size: 15px;
    color: var(--abdc-text);
}

.abdc-view-item:last-child {
    border-bottom: none;
}

.abdc-view-item strong {
    color: var(--abdc-secondary);
    font-weight: 600;
    min-width: 150px;
    text-align: left;
}

.abdc-view-item span {
    color: var(--abdc-text);
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.abdc-view-message {
    background: linear-gradient(135deg, rgba(252, 209, 17, 0.1) 0%, rgba(0, 80, 5, 0.05) 100%);
    border-left: 5px solid var(--abdc-accent);
    border-radius: var(--abdc-radius);
    padding: 20px;
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--abdc-text);
    line-height: 1.7;
    text-align: left;
}

/* Error */
.abdc-error {
    display: none;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: var(--abdc-radius);
    margin-bottom: 25px;
    font-size: 14px;
    border-left: 4px solid #c53030;
}

.abdc-error.active {
    display: block;
}

/* Info */
.abdc-info {
    display: none;
    background: #e6f3ff;
    border: 1px solid #b3d9ff;
    color: #004085;
    padding: 15px;
    border-radius: var(--abdc-radius);
    margin-bottom: 25px;
    font-size: 14px;
    border-left: 4px solid #004085;
}

.abdc-info.active {
    display: block;
}

/* Responsive */
@media (max-width: 600px) {
    .abdc-form-wrapper {
        margin: 20px 15px;
    }

    .abdc-form-header {
        padding: 30px 20px 15px;
    }

    .abdc-form-content {
        padding: 0 20px 30px;
    }

    .abdc-form-progress {
        padding: 0 20px;
    }

    .abdc-form-header h2 {
        font-size: 22px;
    }

    .abdc-form-buttons {
        flex-direction: column;
    }

    .abdc-view-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .abdc-view-item strong {
        margin-bottom: 5px;
    }

    .abdc-view-item span {
        text-align: left;
        margin-left: 0;
    }
}

/* Submissions Table Styles */
.abdc-submissions-container {
    margin: 30px 0;
    font-family: var(--abdc-font);
    color: var(--abdc-text);
}

/* Filters Section */
.abdc-filters-section {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.05) 0%, rgba(1, 17, 80, 0.05) 100%);
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.abdc-filters-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abdc-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.abdc-filter-item {
    display: flex;
    flex-direction: column;
}

.abdc-filter-item label {
    font-weight: 600;
    color: var(--abdc-secondary);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abdc-filter-input,
.abdc-filter-select {
    padding: 10px 12px;
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
}

/* Tooltip Styles */
.abdc-tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    cursor: help;
}

.abdc-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: var(--abdc-secondary);
    color: var(--abdc-white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.abdc-tooltip-icon:hover {
    background-color: var(--abdc-primary);
    transform: scale(1.1);
}

.abdc-tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: var(--abdc-secondary);
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    line-height: 1.4;
    font-weight: normal;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

.abdc-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--abdc-secondary) transparent transparent transparent;
}

.abdc-tooltip-container:hover .abdc-tooltip-text {
    visibility: visible;
    opacity: 1;
}
    font-size: 14px;
    color: var(--abdc-text);
    background-color: var(--abdc-white);
    font-family: var(--abdc-font);
    transition: all 0.3s ease;
}

.abdc-filter-input:focus,
.abdc-filter-select:focus {
    outline: none;
    border-color: var(--abdc-primary);
    box-shadow: 0 0 0 3px rgba(0, 80, 5, 0.1);
}

.abdc-filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23005005' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.abdc-filters-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.abdc-btn-filter {
    padding: 10px 20px;
    border: none;
    border-radius: var(--abdc-radius);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--abdc-font);
    text-decoration: none;
    display: inline-block;
}

.abdc-btn-filter-search {
    background-color: var(--abdc-primary);
    color: var(--abdc-white);
}

.abdc-btn-filter-search:hover {
    background: linear-gradient(135deg, var(--abdc-primary) 0%, var(--abdc-secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 5, 0.2);
}

.abdc-btn-filter-reset {
    background-color: var(--abdc-bg-light);
    color: var(--abdc-secondary);
    border: 2px solid var(--abdc-accent);
}

.abdc-btn-filter-reset:hover {
    background-color: var(--abdc-accent);
    color: var(--abdc-secondary);
    transform: translateY(-2px);
}

/* Filter Loading */
.abdc-filter-loading {
    display: inline-block;
    font-size: 14px;
    color: var(--abdc-primary);
    font-weight: 600;
}

.abdc-filter-loading::after {
    content: '.';
    animation: abdc-dots 1.5s infinite;
}

@keyframes abdc-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.abdc-submissions-title {
    color: var(--abdc-secondary);
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--abdc-accent);
    padding-bottom: 10px;
    display: inline-block;
}

.abdc-table-responsive {
    overflow-x: auto;
    background: var(--abdc-white);
    border-radius: var(--abdc-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--abdc-border);
}

.abdc-submissions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.abdc-submissions-table th {
    background-color: var(--abdc-primary);
    color: var(--abdc-white);
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.abdc-submissions-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--abdc-border);
    line-height: 1.4;
}

.abdc-submissions-table tr:last-child td {
    border-bottom: none;
}

.abdc-submissions-table tr:nth-child(even) {
    background-color: rgba(0, 80, 5, 0.02);
}

.abdc-submissions-table tr:hover {
    background-color: rgba(252, 209, 17, 0.05);
}

.abdc-no-submissions {
    padding: 20px;
    background: var(--abdc-bg-light);
    border-radius: var(--abdc-radius);
    text-align: center;
    color: var(--abdc-text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .abdc-submissions-table th, 
    .abdc-submissions-table td {
        padding: 10px;
        font-size: 13px;
    }

    .abdc-filters-grid {
        grid-template-columns: 1fr;
    }

    .abdc-filters-buttons {
        flex-direction: column;
    }

    .abdc-btn-filter {
        width: 100%;
        text-align: center;
    }
}


/* Selected Items Styles */
.abdc-selected-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.abdc-group-container {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.1) 0%, rgba(252, 209, 17, 0.05) 100%);
    border: 2px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.abdc-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.abdc-group-label {
    color: var(--abdc-secondary);
    font-weight: 600;
    font-size: 15px;
}

.abdc-remove-group,
.abdc-remove-subgroup,
.abdc-remove-scope {
    background: none;
    border: none;
    color: #c53030;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.abdc-remove-group:hover,
.abdc-remove-subgroup:hover,
.abdc-remove-scope:hover {
    color: #9b2c2c;
}

/* Subgroups Wrapper */
.abdc-subgroups-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 10px;
}

.abdc-group-subgroups {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.05) 0%, rgba(1, 17, 80, 0.05) 100%);
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    padding: 20px;
}

.abdc-group-subgroups h4 {
    margin: 0 0 15px 0;
    color: var(--abdc-secondary);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid var(--abdc-accent);
    padding-bottom: 10px;
}

.abdc-subgroups-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 0;
}

.abdc-subgroup-container {
    background: var(--abdc-white);
    border: 2px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: abdcFadeIn 0.3s ease forwards;
}

.abdc-subgroup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.abdc-subgroup-label {
    color: var(--abdc-text);
    font-weight: 500;
    font-size: 14px;
}

.abdc-subgroup-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    font-size: 14px;
    color: var(--abdc-text);
    background-color: var(--abdc-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--abdc-font);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23005005' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 35px;
}

.abdc-subgroup-select:hover {
    border-color: var(--abdc-primary);
}

.abdc-subgroup-select:focus {
    outline: none;
    border-color: var(--abdc-primary);
    box-shadow: 0 0 0 3px rgba(0, 80, 5, 0.1);
}

/* Scopes Wrapper */
.abdc-scopes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.abdc-scope-container {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.05) 0%, rgba(1, 17, 80, 0.05) 100%);
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    padding: 20px;
    animation: abdcFadeIn 0.3s ease forwards;
}

.abdc-scope-header {
    margin-bottom: 12px;
}

.abdc-scope-header label {
    display: block;
    color: var(--abdc-secondary);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.abdc-scope-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    font-size: 14px;
    color: var(--abdc-text);
    background-color: var(--abdc-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--abdc-font);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23005005' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 35px;
}

.abdc-scope-select:hover {
    border-color: var(--abdc-primary);
}

.abdc-scope-select:focus {
    outline: none;
    border-color: var(--abdc-primary);
    box-shadow: 0 0 0 3px rgba(0, 80, 5, 0.1);
}

/* Scopes List */
.abdc-scopes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 0;
}

.abdc-scope-item {
    background: var(--abdc-white);
    border: 2px solid var(--abdc-primary);
    border-radius: var(--abdc-radius);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: abdcFadeIn 0.3s ease forwards;
}

.abdc-scope-label {
    color: var(--abdc-text);
    font-weight: 500;
    font-size: 14px;
}

.abdc-remove-scope {
    background: none;
    border: none;
    color: #c53030;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.abdc-remove-scope:hover {
    color: #9b2c2c;
}

/* Disclosure Notice */
.abdc-disclosure-notice {
    background: linear-gradient(135deg, rgba(252, 209, 17, 0.15) 0%, rgba(252, 209, 17, 0.05) 100%);
    border: 2px solid var(--abdc-accent);
    border-left: 5px solid var(--abdc-accent);
    border-radius: var(--abdc-radius);
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--abdc-text);
    line-height: 1.6;
}

.abdc-disclosure-notice p {
    margin: 0;
}

.abdc-disclosure-notice strong {
    color: var(--abdc-secondary);
    font-weight: 600;
}

/* Consent Wrapper */
.abdc-consent-wrapper {
    margin-bottom: 25px;
    background: var(--abdc-white);
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    padding: 20px;
}

/* Checkbox Styling */
.abdc-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--abdc-border);
}

.abdc-checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--abdc-primary);
    border: 2px solid var(--abdc-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.abdc-checkbox-input:hover {
    border-color: var(--abdc-primary);
    box-shadow: 0 0 0 3px rgba(0, 80, 5, 0.1);
}

.abdc-checkbox-input:checked {
    background-color: var(--abdc-primary);
    border-color: var(--abdc-primary);
}

.abdc-consent-label {
    flex: 1;
    cursor: pointer;
    font-size: 14px;
    color: var(--abdc-text);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Terms Content */
.abdc-consent-terms {
    background: linear-gradient(135deg, rgba(0, 80, 5, 0.03) 0%, rgba(1, 17, 80, 0.03) 100%);
    border: 1px solid var(--abdc-border);
    border-radius: var(--abdc-radius);
    padding: 15px;
    max-height: 250px;
    overflow-y: auto;
}

.abdc-consent-terms h4 {
    margin: 0 0 15px 0;
    color: var(--abdc-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abdc-terms-content {
    font-size: 13px;
    color: var(--abdc-text-light);
    line-height: 1.6;
}

.abdc-terms-content p {
    margin: 0 0 12px 0;
    text-align: justify;
}

.abdc-terms-content p:last-child {
    margin-bottom: 0;
}

/* Scrollbar Styling */
.abdc-consent-terms::-webkit-scrollbar {
    width: 6px;
}

.abdc-consent-terms::-webkit-scrollbar-track {
    background: var(--abdc-bg-light);
    border-radius: 10px;
}

.abdc-consent-terms::-webkit-scrollbar-thumb {
    background: var(--abdc-primary);
    border-radius: 10px;
}

.abdc-consent-terms::-webkit-scrollbar-thumb:hover {
    background: var(--abdc-secondary);
}

/* Responsive */
@media (max-width: 600px) {
    .abdc-disclosure-notice {
        padding: 15px;
        font-size: 13px;
    }

    .abdc-consent-wrapper {
        padding: 15px;
    }

    .abdc-consent-checkbox {
        gap: 10px;
    }

    .abdc-checkbox-input {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .abdc-consent-label {
        font-size: 13px;
    }

    .abdc-consent-terms {
        max-height: 200px;
        padding: 12px;
    }

    .abdc-consent-terms h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .abdc-terms-content {
        font-size: 12px;
    }

    .abdc-terms-content p {
        margin-bottom: 10px;
    }
}
