:root {
    --background: #f8fafc;
    --foreground: #1e293b;
    --ring: #f59e0b;
    --primary: #f59e0b;
    --primary-foreground: #ffffff;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --radius: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.full-bg-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(253, 230, 138, 0.4) 100%),
        url('https://kosukuunsoed.com/image/kosuku.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(245, 158, 11, 0.05);
    color: var(--foreground);
}

.header {
    margin-bottom: 2rem;
    text-align: center;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.025em;
}

.header p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

input {
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--foreground);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder {
    color: var(--muted-foreground);
}

input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    transition: background-color 0.15s, box-shadow 0.15s;
}

button:hover {
    background-color: #d97706;
}

button:active {
    transform: scale(0.98);
}

button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #d97706;
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 2.5rem;
}

.btn-show-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 2.5rem;
    margin-top: 0;
    padding: 0;
    background-color: transparent;
    color: var(--muted-foreground);
    box-shadow: none;
    border-radius: 0 0.375rem 0.375rem 0;
}

.btn-show-password:hover {
    background-color: transparent;
    color: var(--foreground);
    box-shadow: none;
    transform: none;
}

.btn-show-password:focus-visible {
    outline: none;
    box-shadow: none;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.label-row label {
    margin-bottom: 0;
}

.link-lupa {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.link-lupa:hover {
    text-decoration: underline;
}