/* Component-specific CSS for REXd System */

/* Button Components */
.btn-icon {
    @apply p-2;
}

.btn-icon.btn-sm {
    @apply p-1.5;
}

.btn-icon.btn-lg {
    @apply p-3;
}

.btn-group {
    @apply inline-flex;
}

.btn-group .btn:not(:first-child) {
    @apply rounded-l-none;
}

.btn-group .btn:not(:last-child) {
    @apply rounded-r-none;
}

.btn-group .btn:first-child {
    @apply rounded-l-md;
}

.btn-group .btn:last-child {
    @apply rounded-r-md;
}

/* Primary button styles */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

/* Secondary button styles */
.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--background);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
}

/* Form Components */
.form-group {
    @apply mb-4;
}

.form-group:last-child {
    @apply mb-0;
}

.form-error {
    color: var(--destructive);
    @apply mt-1 text-sm;
}

.form-help {
    color: var(--muted-foreground);
    @apply mt-1 text-sm;
}

.form-required {
    color: var(--destructive);
}

/* Input Components */
.input-group {
    @apply flex;
}

.input-group .form-input:not(:first-child) {
    @apply rounded-l-none;
}

.input-group .form-input:not(:last-child) {
    @apply rounded-r-none;
}

.input-group .form-input:first-child {
    @apply rounded-l-md;
}

.input-group .form-input:last-child {
    @apply rounded-r-md;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--input);
    transition: 0.3s;
    border-radius: 26px;
    border: 1px solid var(--border);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 2px;
    background-color: var(--foreground);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Badge Components */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.badge-primary {
    background-color: var(--primary/10);
    color: var(--primary);
}

.badge-secondary {
    background-color: var(--secondary/10);
    color: var(--secondary);
}

.badge-success {
    background-color: var(--success/10);
    color: var(--success);
}

.badge-danger {
    background-color: var(--destructive/10);
    color: var(--destructive);
}

.badge-warning {
    background-color: var(--warning/10);
    color: var(--warning);
}

.badge-info {
    background-color: var(--info/10);
    color: var(--info);
}

/* Avatar Component */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--muted);
    color: var(--muted-foreground);
    font-weight: 600;
    overflow: hidden;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dropdown Component */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 200px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 50;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--foreground);
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Modal Component */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--foreground/50);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px var(--shadow);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open .modal {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: var(--muted);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Card Component */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.card-body {
    padding: 0;
}

.card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

/* Alert Component */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: var(--success/10);
    border-color: var(--success/20);
    color: var(--success);
}

.alert-danger {
    background-color: var(--destructive/10);
    border-color: var(--destructive/20);
    color: var(--destructive);
}

.alert-warning {
    background-color: var(--warning/10);
    border-color: var(--warning/20);
    color: var(--warning);
}

.alert-info {
    background-color: var(--info/10);
    border-color: var(--info/20);
    color: var(--info);
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-message {
    font-size: 0.875rem;
}

/* Progress Component */
.progress {
    width: 100%;
    height: 8px;
    background-color: var(--muted);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        var(--primary/25) 25%,
        transparent 25%,
        transparent 50%,
        var(--primary/25) 50%,
        var(--primary/25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    animation: progress-stripe 1s linear infinite;
}

@keyframes progress-stripe {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1rem 0;
    }
}

/* Table Component */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table thead {
    background-color: var(--muted);
}

.table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 2px solid var(--border);
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
}

.table tbody tr:hover {
    background-color: var(--accent/10);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Pagination Component */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 1rem;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-item:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.pagination-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-item.disabled:hover {
    background-color: transparent;
    color: var(--foreground);
}

/* Tabs Component */
.tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.tab:hover {
    color: var(--foreground);
    border-bottom-color: var(--accent);
}

.tab.active {
    color: var(--foreground);
    border-bottom-color: var(--primary);
}

/* Tooltip Component */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    background-color: var(--foreground);
    color: var(--background);
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Loading Component */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 16px;
    height: 16px;
    border-width: 1.5px;
}

.spinner-lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* File Upload Component */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary);
    background-color: var(--primary/5);
}

.file-upload-area.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.file-upload-text {
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-upload-hint {
    color: var(--muted-foreground);
    font-size: 0.75rem;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-online .status-dot {
    background-color: var(--success);
    box-shadow: 0 0 0 3px var(--success/20);
}

.status-offline .status-dot {
    background-color: var(--destructive);
    box-shadow: 0 0 0 3px var(--destructive/20);
}

.status-warning .status-dot {
    background-color: var(--warning);
    box-shadow: 0 0 0 3px var(--warning/20);
}

.status-neutral .status-dot {
    background-color: var(--muted-foreground);
}

/* Wizard Component */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.wizard-progress-bar {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background-color: var(--muted);
    transform: translateY(-50%);
    z-index: 0;
    transition: width 0.3s ease;
}

.wizard-step-indicator {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.wizard-step-indicator span:first-child {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    transition: all 0.3s;
}

.wizard-step-indicator.active span:first-child {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.wizard-step-indicator.completed span:first-child {
    background-color: var(--success/10);
    border-color: var(--success);
    color: var(--success);
}

.wizard-step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.wizard-step-indicator.active .wizard-step-label {
    color: var(--foreground);
    font-weight: 600;
}

.wizard-step-indicator.completed .wizard-step-label {
    color: var(--success);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.wizard-error {
    background-color: var(--destructive/10);
    border: 1px solid var(--destructive/20);
    color: var(--destructive);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wizard-error i {
    color: var(--destructive);
}

/* Selection Cards */
.selection-card {
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--card);
}

.selection-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary/10);
    transform: translateY(-2px);
}

.selection-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary/20), 0 4px 12px var(--primary/15);
}

.selection-card-icon {
    font-size: 2.5rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.selection-card:hover .selection-card-icon {
    color: var(--primary);
}

.selection-card.selected .selection-card-icon {
    color: var(--primary);
}

.selection-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.selection-card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* Orientation Preview */
.orientation-preview {
    background-color: var(--muted);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.orientation-preview.horizontal {
    aspect-ratio: 1280/520;
    width: 100%;
}

.orientation-preview.vertical {
    aspect-ratio: 720/1040;
    width: 100%;
}

/* Etapa orientação: ícone/título/texto dentro do preview — card mais baixo */
.selection-card[data-orientacao] {
    padding: 0.75rem 1rem;
}

.selection-card[data-orientacao] .orientation-preview {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
    margin-bottom: 0;
    padding: 0.65rem 0.75rem 0.75rem;
    text-align: center;
    aspect-ratio: unset;
    width: 100%;
}

/* Faixa com proporção da tela (evita caixa enorme + texto embaixo) */
.selection-card[data-orientacao] .orientation-preview.horizontal::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 14rem;
    margin: 0 auto;
    aspect-ratio: 1280 / 520;
    background-color: var(--muted);
    border-radius: 0.3rem;
    flex-shrink: 0;
    transition: box-shadow 0.2s;
}

.selection-card[data-orientacao] .orientation-preview.vertical::before {
    content: '';
    display: block;
    width: 3rem;
    margin: 0 auto;
    aspect-ratio: 720 / 1040;
    background-color: var(--muted);
    border-radius: 0.3rem;
    flex-shrink: 0;
    transition: box-shadow 0.2s;
}

.selection-card[data-orientacao] .orientation-preview-main-icon {
    font-size: 1.6rem;
    margin-bottom: 0;
}

.selection-card[data-orientacao] .orientation-preview-heading {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.selection-card[data-orientacao] .orientation-preview-text {
    font-size: 0.72rem;
    line-height: 1.35;
    margin: 0;
}

.selection-card[data-orientacao]:hover .orientation-preview.horizontal::before,
.selection-card[data-orientacao]:hover .orientation-preview.vertical::before {
    box-shadow: inset 0 0 0 1px var(--primary);
}

.selection-card[data-orientacao].selected .orientation-preview.horizontal::before,
.selection-card[data-orientacao].selected .orientation-preview.vertical::before {
    box-shadow: inset 0 0 0 2px var(--primary);
}

/* Upload Optional Message */
.upload-optional-message {
    background-color: var(--info/10);
    border: 1px solid var(--info/20);
    color: var(--info);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Preview — canvas informativo: horizontal 1280×520, vertical 720×1040 */
.content-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.content-preview {
    width: min(100%, 40rem);
    max-width: 100%;
    aspect-ratio: 1280 / 520;
    background-color: var(--muted);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-preview.vertical {
    aspect-ratio: 720 / 1040;
    width: min(
        100%,
        20rem,
        calc(min(75vh, 36rem) * 720 / 1040)
    );
    max-width: 100%;
}

.content-preview-placeholder {
    text-align: center;
    color: var(--muted-foreground);
}

.content-preview-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.content-preview-placeholder p {
    font-size: 0.875rem;
}

.content-preview-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.content-preview-actions {
    margin-top: 1rem;
}

/* Cards de modelo grandes */
.modelo-card-large {
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid var(--border);
    background-color: var(--card);
}

.modelo-card-large:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary/10);
}

.modelo-card-large.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary/20), 0 4px 12px var(--primary/15);
}

.modelo-card-selected-icon {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.modelo-card-large.selected .modelo-card-selected-icon {
    display: flex;
}

.modelo-card-large-preview {
    width: 100%;
    aspect-ratio: 1280/520;
    background-color: var(--muted);
    overflow: hidden;
}

.modelo-card-large-preview.vertical {
    aspect-ratio: 720/1040;
}

.modelo-card-large-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modelo-card-large-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted-foreground);
}

.modelo-card-large-info {
    padding: 1rem;
}

.modelo-card-large-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.modelo-card-large-orientacao {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.modelo-card-large-orientacao.horizontal {
    background-color: var(--primary/10);
    color: var(--primary);
}

.modelo-card-large-orientacao.vertical {
    background-color: var(--purple-500/10);
    color: var(--purple-500);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wizard-progress {
        padding: 0.5rem 1rem;
    }

    .wizard-step-indicator span:first-child {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .wizard-step-label {
        font-size: 0.65rem;
    }

    .selection-card {
        padding: 1rem;
    }

    .orientation-preview {
        max-width: 100%;
    }

    .modelo-carousel {
        gap: 0.75rem;
    }

    .modelo-card-large {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .wizard-progress {
        padding: 0.25rem 0.5rem;
    }

    .wizard-step-indicator {
        gap: 0.125rem;
    }

    .wizard-step-indicator span:first-child {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }

    .wizard-step-label {
        font-size: 0.625rem;
    }

    .selection-card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .selection-card-title {
        font-size: 1rem;
    }

    .selection-card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .wizard-progress {
        padding: 0.25rem 0;
    }

    .wizard-step-indicator {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .wizard-step-label {
        display: none;
    }

    .selection-card {
        padding: 1rem;
    }

    .selection-card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .selection-card-title {
        font-size: 1rem;
    }

    .selection-card-description {
        font-size: 0.8rem;
    }
}

/* Splide Custom Styles */
.splide__track {
    background-color: var(--muted/20);
    border-radius: 0.75rem;
    padding: 1rem;
}

.splide__slide {
    padding: 0.5rem;
}

.splide__slide.is-active .modelo-card-large {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary/20), 0 4px 12px var(--primary/15);
    transform: scale(1.02);
}

.splide__arrow {
    background-color: var(--card);
    border: 2px solid var(--border);
    color: var(--foreground);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.splide__arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.splide__arrow--prev {
    left: -20px;
}

.splide__arrow--next {
    right: -20px;
}

.splide__pagination {
    bottom: -2rem;
}

.splide__pagination__page {
    background-color: var(--border);
    height: 8px;
    width: 24px;
    border-radius: 4px;
    transition: all 0.3s;
}

.splide__pagination__page.is-active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.splide__pagination__page:hover {
    background-color: var(--primary/70);
}
