* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    background: #f5f5f5;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 2/1;
}

.login-form {
    flex: 1;
    background: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.dial-logo {
    width: 10em;
}

.image-section {
    flex: 1;
    /* Takes up exactly 50% */
    background: linear-gradient(45deg, #1a1a1a, #4a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    position: relative;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.logo {
    width: 15em;
    height: 5em;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.input-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

input {
    width: 100%;
    padding: 0.7rem;
    padding-right: 4rem;
    /* Space for button */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #007bff;
}

.password-wrapper {
    position: relative;
}

.password-wrapper button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #007bff;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    height: 100%;
    font-weight: 500;
    transition: color 0.3s;
}

.password-wrapper button:hover {
    color: #0056b3;
}

.password-wrapper button:focus {
    outline: none;
}


.login-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

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

.google-button {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: background 0.3s;
    text-decoration: none;
}

.google-button:hover {
    background: #f5f5f5;
}

.links {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.links a {
    color: #007bff;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        aspect-ratio: auto;
    }

    .login-form {
        width: 100%;
        padding: 2rem;
    }

    .image-section {
        display: none;
    }
}