
* {
    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);
    height: 100vh;
}

/* Image Section - Now First */
.image-section {
    flex: 1;
    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;
}

/* Form Section - Now Second */
.forgot-form {
    flex: 1;
    background: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
}

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

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

.description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

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

.send-otp-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.3s;
    width: 100%;
}

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

.links {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 0.5rem;
}

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

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

    .forgot-form {
        width: 100%;
        padding: 1.5rem;
        order: 1;
        /* Ensure form is always on top in mobile view */
    }

    .image-section {
        display: none;
    }
}

.dial-logo {
    width: 10em;
}