* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

p {
    color: #777;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.2);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #0056b3;
}

.msg-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
/* Tambahan untuk pesan sukses */
.msg-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #c8e6c9;
}

/* Memperbaiki tampilan link */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

/* Container untuk navigasi tambahan di bawah form */
.auth-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Tombol daftar dengan gaya outline agar berbeda dengan tombol utama */
.btn-register {
    display: inline-block;
    width: 100%;
    padding: 10px;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
    text-align: center;
}

.btn-register:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

/* Penyesuaian link lupa password */
.input-group a:hover {
    color: #007bff;
    text-decoration: underline;
}

.coords-display {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: end;
}

.coords-display input {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f0fff4, #f0f9ff);
    font-family: monospace;
    font-weight: 600;
    color: #059669;
}

.btn-maps {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-maps:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.coords-group small {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}


