/* Base Styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f9ff;
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    width: 90px;
    margin-bottom: 15px;
}

h1 {
    margin: 0;
    font-size: 28px;
    color: #1a73e8;
}

.subtitle {
    margin-top: 5px;
    color: #555;
}

.section {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-box {
    padding: 15px;
    background: #eaf2ff;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.info-box label {
    font-size: 12px;
    color: #1a73e8;
    font-weight: bold;
}

.info-box p {
    margin: 6px 0 0;
    font-size: 16px;
    font-weight: bold;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.results-table th,
.results-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.results-table th {
    background: #1a73e8;
    color: white;
    font-size: 14px;
}

.results-table tr:hover {
    background: #f1f7ff;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Toggle Button */
#modeToggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1a73e8;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

#modeToggle:hover {
    background: #155ab6;
}

/* Dark Mode */
body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

body.dark-mode .container {
    background: #1e1e1e;
    box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

body.dark-mode .info-box {
    background: #2a2a2a;
}

body.dark-mode .results-table th {
    background: #1976d2;
    color: #fff;
}

body.dark-mode .results-table td {
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .results-table tr:hover {
    background: #2c2c2c;
}

body.dark-mode footer {
    color: #aaa;
}
