/* Atlas Earth Helper Specific Styles */

:root {
    --common: #a0a0a0;
    --uncommon: #2ecc71;
    --rare: #3498db;
    --epic: #9b59b6;
    --legendary: #f1c40f;
    --accent: #5e72e4;
    --accent-glow: rgba(94, 114, 228, 0.4);
}

body.dark-theme {
    background-color: #0a0b10;
    color: #e0e0e0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Scoped to main to avoid affecting the shared footer/nav containers */
main.container {
    max-width: var(--container-width, 1140px);
    margin: 0 auto;
    padding: 40px 2rem;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.glow-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #5e72e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(94, 114, 228, 0.3));
    margin-bottom: 10px;
}

.subtitle {
    color: #8898aa;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    border-color: var(--accent);
}

.checker-title {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8898aa;
}

.input-field {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: var(--accent);
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.metric-card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    text-align: center;
}

.metric-card h4 {
    font-size: 0.75rem;
    color: #8898aa;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.metric-card p {
    margin: 0;
    font-weight: 800;
}

.highlight-card {
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.boost-info-box {
    text-align: center;
    padding: 20px;
    background: rgba(94, 114, 228, 0.05);
    border: 1px dashed var(--accent);
    border-radius: 15px;
}

.boost-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.boost-sub {
    font-size: 0.85rem;
    color: #8898aa;
    margin-top: 5px;
}

/* New Elements */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.85rem;
}

.stats-table th, .stats-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-table th {
    color: #8898aa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.stats-table .time-col {
    font-weight: 700;
    color: #fff;
}

.passport-tier {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    background: var(--accent);
    color: white;
    margin-left: 10px;
}

.optimization-card {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recommendation-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(94, 114, 228, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
}

.recommendation-icon {
    font-size: 1.5rem;
    background: var(--accent);
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.recommendation-text h5 {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

.recommendation-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #8898aa;
}

.goal-progress {
    margin-top: 15px;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 1s ease;
}

.ad-req {
    font-size: 0.75rem;
    color: #8898aa;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.tier-warning { color: #f1c40f; }
.tier-optimal { color: #2ecc71; }

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}
