/* Deep Navy Background & Base Settings */
body {
    background-color: #0D1C45;
    color: #f1f1f1; /* Slightly off-white for body text to reduce eye strain */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Headers in Yellow Hue */
h1, h2, h3 {
    color: #FFF200; /* Bright Yellow */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

header {
    padding: 40px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #FFF200;
}

.subtitle {
    color: #FFF200;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile-First Navigation */
nav {
    display: flex;
    width: 90%;
    justify-content: space-around;
    padding: 20px 0;
    gap: 10px;
}

.nav-button {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    border: 1px solid #FFF200;
    color: #FFF200;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
}

.nav-button:active {
    background-color: #FFF200;
    color: #0D1C45;
}

/* Content Area */
main {
    width: 90%;
    max-width: 500px; /* Keeps it from getting too wide on PC */
}

.card {
    background: rgba(255, 255, 255, 0.05); /* Subtle glass effect */
    border-left: 4px solid #FFF200;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

footer {
    margin-top: auto;
    padding: 20px;
    font-size: 0.7rem;
    color: #FFF200;
    opacity: 0.6;
}
/* Mobile-friendly inputs */
.mobile-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #FFF200;
    background: #050d21;
    color: #FFF200;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    font-size: 16px; /* Prevents iOS from zooming in on focus */
}

#submitBtn {
    width: 100%;
    padding: 15px;
    background-color: #FFF200;
    color: #0D1C45;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

#resultDisplay {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px dashed #FFF200;
    min-height: 30px;
}
/* Top Bar Style */
.top-bar {
    width: 100%;
    background: #FFF200;
    color: #0D1C45;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 5px 10px;
    text-align: left;
    box-sizing: border-box;
}

/* Adjusting Header for the new title */
h1 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #FFF200;
}

/* Keep the rest of your previous CSS below this... */