:root {
    --primary-color: #2979FF;
    --primary-hover: #1a5fbf;
    --bg-gradient-start: #1D2540;
    --bg-gradient-end: #2979FF;
    --bg-card: rgba(255,255,255,0.1);
    --text-primary: #fff;
    --text-secondary: rgba(255,255,255,0.9);
    --border-radius: 15px;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --box-shadow: 0 4px 32px 0 rgba(0,0,0,0.15);
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Menüleiste Styling - Neues Design */
.navbar {
    background-color: #1D2540;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.7);
    border-bottom: 1px solid #333333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

/* Zentrierte Navigation */
.nav-center {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links li a.dropdown-link {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.nav-links li a.dropdown-link::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    font-size: 0.9em;
    transition: transform 0.3s;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}

.nav-links li:hover a.dropdown-link::after {
    transform: rotate(180deg);
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-unit);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

/* Responsive header sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Ensure headers are always larger than body text */
    h1, h2, h3 {
        line-height: 1.3;
    }
}

/* Section Content Styles */
.comparison-section,
.advantages-content {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

/* Responsive Tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
        border-collapse: collapse;
    }
    
    table th, table td {
        padding: 0.5rem;
    }
}

/* Dashboard Styles */
.dashboard-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.chart-container-wrapper {
    background-color: #1D2540;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.chart-container {
    margin: 0;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.dashboard-secondary {
    padding-top: 0;
}

main {
    flex: 1;
}

/* Rentenlücke Styling - Unified version */
.chart-bar.rentenluecke {
    background: #2979FF;
    position: relative;
    overflow: hidden;
}

.chart-bar.rentenluecke::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2979FF;
    height: var(--filled-level, 100%);
    z-index: 1;
}

.chart-bar.rentenluecke::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(34, 85, 204, 0.5) 10px,
        rgba(34, 85, 204, 0.5) 20px
    );
    z-index: 0;
}

.chart-bar.rentenluecke.has-gap::before {
    height: var(--filled-level, 0%);
}

.chart-bar-value.positive {
    color: #4CAF50;
    font-weight: 700;
}

.chart-bar-value.negative {
    color: #F44336;
    font-weight: 700;
}

/* Dashboard Section Styles */
.dashboard-section {
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-content {
    background-color: transparent;
    margin-bottom: 2rem;
    flex: 1;
}

.dashboard-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-secondary {
    background-color: transparent;
    padding-top: 2rem;
}

/* Summary Section Styles */
.summary-section {
    margin-bottom: 2.5rem;
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2a3441;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0s, 0.3s, 0s; /* visibility hides noch später */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    border-radius: 12px;
    visibility: visible;
    transform: translateY(0) scale(1);
    display: flex;
    flex-direction: column;
    transition-delay: 0s, 0s, 0s;
}

.dropdown-menu a {
    color: inherit;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 12px;
    margin: 4px 0;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(41, 121, 255, 0.15);
    color: #fff !important;
}

/* Footer Styles */
footer {
    background-color: #1A2B4C;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-content {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2979FF;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #B0B0B0;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #2979FF;
}

@media (max-width: 900px) {
    .nav-container, .footer-content {
        max-width: 95%;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin: 1rem 0;
    }
}

/* Dashboard Styling */
.dashboard-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.chart-container-wrapper {
    background-color: #1D2540;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.chart-container {
    margin: 0;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.dashboard-secondary {
    padding-top: 0;
}

main {
    flex: 1;
}

/* Rentenlücke Styling - Unified version */
.chart-bar.rentenluecke {
    background: #2979FF;
    position: relative;
    overflow: hidden;
}

.chart-bar.rentenluecke::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2979FF;
    height: var(--filled-level, 100%);
    z-index: 1;
}

.chart-bar.rentenluecke::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(34, 85, 204, 0.5) 10px,
        rgba(34, 85, 204, 0.5) 20px
    );
    z-index: 0;
}

.chart-bar.rentenluecke.has-gap::before {
    height: var(--filled-level, 0%);
}

.chart-bar-value.positive {
    color: #4CAF50;
    font-weight: 700;
}

.chart-bar-value.negative {
    color: #F44336;
    font-weight: 700;
}

/* Dashboard Section Styles */
.dashboard-section {
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-content {
    background-color: transparent;
    margin-bottom: 2rem;
    flex: 1;
}

.dashboard-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-secondary {
    background-color: transparent;
    padding-top: 2rem;
}

/* Summary Section Styles */
.summary-section {
    margin-bottom: 2.5rem;
}

/* Pension Boxes Styles */
.pension-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pension-box {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 2rem;
}

.pension-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2979FF;
    margin: 0.5rem 0;
}

.pension-input {
    display: flex;
    align-items: left;
    margin-top: 1rem;
    position: relative;
}

.pension-input input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    background-color: #0A0F1C;
    border-radius: 8px;
    color: #2979FF;
    font-weight: 700;
    border: 1px solid #333;
}

.pension-input input::placeholder {
    color: #666666;
}

.pension-input input.form-control {
    background-color: #1D2540;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    padding: 0.75rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.pension-input input.form-control::placeholder {
    color: #666666;
}

.pension-input input.form-control:focus {
    outline: none;
    border-color: #2979FF;
    box-shadow: 0 0 0 2px rgba(41, 121, 255, 0.2);
}

.pension-input .currency {
    position: absolute;
    right: 1rem;
    color: #B0B0B0;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Pie chart styles */
.pie-chart-container {
    width: 280px;
    height: 280px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 auto;
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

/* Chart legend styles */
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 0 0 60%;
    padding-right: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.gesetzliche {
    background-color: #2979FF;
}

.legend-color.betriebliche {
    background-color: #27AE60;
}

.legend-color.private {
    background-color: #F1C40F;
}

.legend-color.luecke {
    background-color: #E74C3C;
}

.legend-text {
    flex: 1;
    color: #FFFFFF;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.legend-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-left: auto;
}

.legend-link {
    margin-left: 6px;
    color: #2979FF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.legend-link:hover {
    opacity: 1;
    transform: translateX(3px);
}

.legend-link i {
    font-size: 14px;
}

.legend-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
    width: 100%;
}

/* Media queries for responsive pie chart */
@media (max-width: 768px) {
    .chart-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .chart-legend {
        width: 100%;
        padding-right: 0;
        flex: auto;
    }
}

/* Responsive styles */
@media (max-width: 900px) {
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    html { 
        font-size: 15px; 
    }
    
    .nav-container {
        max-width: 95%;
        padding: 0 1rem;
        position: relative; /* Ensure proper stacking context */
    }
    
    .nav-links {
        display: none;
    }
    
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin: 1rem 0;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: none;
        height: auto;
        padding: 0;
    }

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        display: flex;
        flex-direction: column;
    }

    .dropdown-content a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background: linear-gradient(135deg, #2979FF 100%, #1E64E8 0%);
        color: #FFFFFF !important;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pension-boxes {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    html { 
        font-size: 13px; 
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

/* Performance Tables */
.performance-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.performance-section {
    flex: 1;
    min-width: 200px;
}

.performance-section h3 {
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
}

.performance-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 0;
}

.performance-row.performance-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    padding-bottom: 8px;
    margin-bottom: 4px;
    display: none; /* Hide the header row */
}

.performance-cell {
    flex: 1;
    padding: 4px 8px;
}

.performance-cell:first-child {
    color: #B0B0B0;
}

.performance-cell:last-child {
    text-align: right;
    font-weight: 500;
}

.plan-box {
    max-height: 80vh;
    height: 60vh;
    min-height: 40vh;
}



#dark-plan-chart, #dark-withdraw-chart {
    width: 100% !important;
    height: 100% !important;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
}

.radar-icon {
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    animation: radar-pulse 2s infinite;
}

.radar-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #fff;
    transform: translate(-50%, -100%) rotate(45deg);
    transform-origin: center bottom;
    animation: radar-sweep 2s infinite linear;
}

@keyframes radar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes radar-sweep {
    0% { transform: translate(-50%, -100%) rotate(0deg); }
    100% { transform: translate(-50%, -100%) rotate(360deg); }
}

/* HERO SECTION - Unified for all pages */
.hero {
    background: linear-gradient(135deg, #1D2540 0%, #2979FF 100%);
    color: white;
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .hero {
        padding: 1.5rem 1rem 1rem;
        min-height: 120px;
    }
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.hero h1 {
    font-size: clamp(1.6rem, 7vw, 3.5rem);
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.5s forwards;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.1;
}
@media (max-width: 900px) {
    .hero h1 {
        word-break: break-word;
        hyphens: auto;
        overflow-wrap: anywhere;
    }
}
.hero p {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.7s forwards;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
}
@media (max-width: 900px) {
    .hero p {
        word-break: break-word;
        hyphens: auto;
        overflow-wrap: anywhere;
    }
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 900px) {
    .hero {
        padding: 2rem 1rem 1.2rem;
        min-height: 100px;
        max-height: none;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 1.2rem 0.5rem 0.7rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Header styles */
.header {
    background: linear-gradient(135deg, #1D2540 0%, #2B3654 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radar-icon {
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    animation: radar-pulse 2s infinite;
}

.radar-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #fff;
    transform: translate(-50%, -100%) rotate(45deg);
    transform-origin: center bottom;
    animation: radar-sweep 2s infinite linear;
}

@keyframes radar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes radar-sweep {
    0% { transform: translate(-50%, -100%) rotate(0deg); }
    100% { transform: translate(-50%, -100%) rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2B3654; /* Darker shade of header background */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    top: 100%; /* Position below the parent link */
    left: 0;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: none;
    border-radius: 12px;
    margin: 4px 0;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #2979FF 0%, #1E64E8 100%);
    color: #FFFFFF !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-btn {
    display: none !important;
  }
  .nav-center {
    display: block !important;
  }
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

#resultContainer {
    overflow: visible !important;
    max-height: none !important;
    transition: max-height 0.5s ease-in-out;
}