body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 12px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 800px; 
    display: flex; 
}

.form-container {
    flex: 1; 
    padding: 10px; 
    box-sizing: border-box; 
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    width: 100%; 
    grid-column: span 2; 
}

.form-header {
    text-align: center;
    margin-bottom: 10px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px; 
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box; 
}

.form-control:focus {
    border-color: #4caf50; 
    outline: none; 
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #4caf50; 
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #16811a; 
    transform: translateY(-2px); 
}

.alert {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.separator {
    border-left: 1px solid #ccc; 
    height: auto;
    margin: 0 15px; 
    align-self: stretch; 
}

.password-container {
    position: relative; 
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #007bff;
}
