* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../images/background1.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #222;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

/* Container glass */
.container {
    background: rgba(255, 255, 255, 0.7); /* transparansi dikurangi agar teks lebih jelas */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    color: #222;
    font-size: 18px;
}

/* Logo */
.logo {
    width: 200px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}

/* Judul utama */
h2 {
    margin-bottom: 25px;
    font-size: 42px;
    color: #222;
    text-shadow: none;
}

/* Label */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
    text-align: left;
    font-size: 18px;
}

/* Input box */
input {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.8);
    color: #222;
    font-size: 17px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

input::placeholder {
    color: #666;
}

input:focus {
    border-color: #4caf50;
    background: #fff;
    outline: none;
}

/* Button daftar */
button {
    width: 100%;
    padding: 14px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
}

/* Button kembali */
a {
    display: block;
    padding: 12px;
    background-color: #2196f3;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #1976d2;
}

/* Error message */
.error {
    color: #e74c3c;
    background-color: rgba(253, 234, 234, 0.8);
    border-left: 4px solid #e74c3c;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: left;
    font-size: 17px;
}
