.fancy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    width: 100%;
    min-height: 360px;
    padding: 2rem;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 95%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent));
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.fancy-card::before {
    position: absolute;
    top: -10%;
    left: -10%;
    z-index: 0;
    width: 120%;
    height: 120%;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--bg-card) 6%, transparent), transparent 70%);
    content: '';
}

.fancy-card > .mud-card-content,
.fancy-card > .mud-card-actions,
.fancy-card .card-content {
    position: relative;
    z-index: 1;
}

.fancy-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.fancy-card p {
    font-size: 1rem;
    opacity: 0.85;
}

.fancy-card .button-gradient {
    margin-top: auto;
}

.form-layout,
.form-layout-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: none;
}

.form-layout {
    width: 100%;
    flex-basis: unset;
}

.form-layout .card,
.form-layout-grid .card,
.single-box .card {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-layout .card > .card {
    padding: 1px;
    box-shadow: none;
}

.form-layout .card .clean,
.remove-border {
    border: none;
}

.form-layout .wide-section {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.form-layout .wide-section.box {
    box-shadow: var(--shadow-md);
}

.classification-container {
    max-width: none !important;
}

.classification-item {
    width: 100%;
    border: 1px solid var(--border);
}

.classification-item .mud-card-content {
    padding: 0 !important;
}

.button-standard,
.button-advanced,
.reset-button {
    padding: 12px 24px;
    color: var(--BM-Supporting-White);
    font-size: 1rem;
    font-weight: var(--font-regular);
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.button-standard {
    background: var(--gradient-primary) !important;
}

.illustration-button.mud-disabled {
    color: var(--BM-Supporting-White) !important;
}

.button-advanced {
    padding-inline: 28px;
    background: var(--gradient-success);
}

.reset-button {
    background: var(--gradient-secondary);
}

.button-standard.small,
.reset-button.small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.button-standard.alt,
.reset-button.alt {
    background: linear-gradient(135deg, #fc4c92, #ff72af);
    box-shadow: var(--shadow-md);
}

.button-advanced.alt {
    background: linear-gradient(135deg, #33cba9, #33cba9bf);
    box-shadow: var(--shadow-md);
}

.button-standard:hover,
.button-advanced:hover,
.reset-button:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.progress-bar-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar-container p {
    white-space: nowrap;
}

.progress-bar-container .progress-bar,
.progress-bar-container .progress-bar::before,
.progress-bar-container .progress-bar .mud-progress-linear-bars {
    border-radius: 6px;
}

.font-medium {
    font-size: 1.7rem;
}

.font-big {
    font-size: 2rem;
}

.vertical-divider-sm {
    height: 69px;
    border: 1px solid color-mix(in srgb, var(--border) 12%, transparent);
}
