/* style_change.css */

/* Reset umum */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
/* container utama */
.login-container {
    max-width: 350px;
    margin: 60px auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

/* header */
.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header img {
    max-width: 80px;
}

.login-header h1 {
    margin: 10px 0 5px;
    font-size: 22px;
    color: #198754;
}

.login-header p {
    color: #555;
}

/* error & success message */
.login-error {
    background: #f8d7da;
    color: #842029;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #f5c2c7;
}

.login-success {
    background: #d1e7dd;
    color: #0f5132;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #badbcc;
}

/* form */
.login-form label {
    font-weight: 500;
    margin-top: 10px;
    display: block;
    color: #333;
}

.login-form input {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form input:focus {
    border-color: #198754;
    box-shadow: 0 0 4px rgba(25, 135, 84, 0.3);
    outline: none;
}

/* tombol */
.btn-submit {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #198754, #157347);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #157347, #0f5132);
    transform: scale(1.03);
}

/* link bawah */
.register-links {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-links a {
    color: #198754;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-links a:hover {
    color: #157347;
    text-decoration: underline;
}
