/* 
Engineering Unit Converter - Custom Stylesheet
*/

:root {
    --background-color: #1a1a2e;
    --primary-text-color: #ffffff;
    --secondary-text-color: #dcdcdc;
    --accent-color-1: #e94560;
    --accent-color-2: #0f3460;
    --card-background: #16213e;
    --border-color: #0f3460;
}

body {
    background-color: var(--background-color);
    color: var(--secondary-text-color);
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text-color);
    font-weight: 600;
}

.converter-wrapper {
    max-width: 600px;
    width: 100%;
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-control, .form-select {
    background-color: var(--accent-color-2);
    color: var(--primary-text-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control::placeholder {
    color: #a0a0c0;
}

.form-control:focus, .form-select:focus {
    background-color: var(--accent-color-2);
    color: var(--primary-text-color);
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 0.25rem rgba(233, 69, 96, 0.25);
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--primary-text-color);
}

.btn-convert {
    background-color: var(--accent-color-1);
    color: var(--primary-text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn-convert:hover {
    background-color: #d43d51;
    color: var(--primary-text-color);
}

.result-box {
    background-color: var(--accent-color-2);
    color: var(--primary-text-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.error-box {
    color: var(--accent-color-1);
    font-weight: 500;
    margin-top: 1rem;
}
