/* C:\Major Project-6th-Sem\CitySync_Web\static\partners\css\costume_css\login.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4070f4, #265df2);
    padding: 20px;
    overflow: hidden;
}

.container {
    max-width: 400px;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

header::after {
    content: "";
    display: block;
    height: 4px;
    width: 65%;
    background-color: #4070f4;
    margin: 10px auto;
    border-radius: 5px;
}

.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
}

.alert-success { background-color: #28a745; }
.alert-error { background-color: #dc3545; }
.alert-warning { background-color: #ff9800; }
.alert-info { background-color: #2196f3; }

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.input-field input {
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-field input:focus {
    border-color: #4070f4;
    box-shadow: 0 0 5px rgba(64, 112, 244, 0.3);
}

.show-password {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

button {
    height: 45px;
    padding: 0 20px;
    border: none;
    border-radius: 5px;
    background: #4070f4;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #265df2;
}

.links {
    margin-top: 15px;
    text-align: center;
}

.register-link {
    color: #4070f4;
    font-size: 12px;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    .input-field input {
        height: 40px;
        font-size: 13px;
    }
    button {
        height: 40px;
        font-size: 13px;
    }
    header {
        font-size: 24px;
    }
}