/* General Reset */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
}

/* ================== Login Page Layout ================== */
.container {
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
}

.left-half {
    flex: 1;
    background: #0d1117;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-half h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.right-half {
    flex: 1;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #fefefe;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #333;
}

.login-box label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

.login-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
}

.login-box button {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background: #0056b3;
}

/* ================== Header Styles ================== */
header {
    background: #0d1117;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h2 {
    margin: 0;
    font-size: 1.5rem;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

header nav a:hover {
    color: black;
    background: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

/* ================== Dashboard and Button ================== */
.dashboard {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.quick-quote-btn {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.quick-quote-btn:hover {
    background-color: #004a99;
}

/* ================== Form Styles ================== */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.form-container h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-container label {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.form-container textarea {
    width: 100%;
    height: 100px;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    box-sizing: border-box;
}

.form-container button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #0056b3;
}

/* ================== Mobile First Tweaks ================== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-half, .right-half {
        flex: none;
        width: 100%;
        padding: 2rem;
    }

    .login-box {
        padding: 2rem;
    }

    .form-container {
        padding: 1.5rem;
        margin: 1rem;
        width: 95%;
    }

    .form-container textarea {
        height: 100px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    header nav a {
        margin: 0.2rem 0 0.2rem 0;
    }
}
