/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #0077b6, #00b4d8, #90e0ef);
    color: #333;
}

/* Wrapper untuk login */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Kartu login */
.login-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
    max-width: 90%;
}

/* Logo */
.logo {
    width: 100px;
    margin-bottom: 15px;
}

/* Heading */
h3 {
    font-size: 18px;
    font-weight: bold;
    color: #0077b6;
}

h1 {
    font-size: 14px;
    color: #777;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

input:focus {
    outline: none;
    border-color: #0077b6;
    box-shadow: 0px 0px 8px rgba(0, 119, 182, 0.3);
}

/* Tombol login */
.login-button {
    background: #0077b6;
    color: white;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #005f8a;
}

/* Link daftar */
p {
    font-size: 14px;
    margin-top: 10px;
}

a {
    color: #0077b6;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Pesan error */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

/* Responsiveness */
@media screen and (max-width: 400px) {
    .login-card {
        width: 90%;
        padding: 20px;
    }
}
