/* Override container width for comparison page */
main.container {
    max-width: 1600px !important;
    padding: 0 2rem !important;
}

/* Ensure body/main don't constrain the layout */
body {
    display: flex !important;
}

main {
    flex: 1 !important;
    width: 100% !important;
}

.comparison-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-primary {
    background-color: #667eea;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #5568d3;
}

.comparison-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.asset-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.asset-column h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.metric-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.metric-item .label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.metric-item .value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
}

.currency-toggle {
    margin-top: 1rem;
    text-align: center;
}

.currency-toggle a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    background-color: #f0f0f0;
}

.currency-toggle a.active {
    background-color: #667eea;
    color: white;
}
