/* File: css/style_login.css */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.login-outer-container {
    text-align: center;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    box-sizing: border-box;
}

/* Bagian welcome-text bisa dihilangkan jika tidak relevan untuk halaman login ini */
/*
.welcome-text h1 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 25px;
}
*/

.login-card {
    background-color: #fff;
    padding: 30px 35px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.7em;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #ef9a9a;
    font-size: 0.9em;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.input-group input:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-bottom: 15px; /* Jarak dengan link di bawahnya */
}

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

.navigation-links {
    text-align: center;
    margin-top: 20px;
}

.navigation-links p {
     margin-bottom: 10px;
}

.navigation-links a, .back-button-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
}

.navigation-links a:hover, .back-button-link:hover {
    text-decoration: underline;
}

.back-button-link.button-style {
    display: inline-block;
    padding: 10px 15px;
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.back-button-link.button-style:hover {
    background-color: #5a6268;
    text-decoration: none;
}