:root {
    scroll-behavior: smooth;
    --bs-purple: #6f42c1;
    --bs-red: #F56565;
    --bs-orange: #fd7e14;
    --bs-yellow: #FBD38D;
    --bs-green: #81E6D9;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #012970;
    --bs-secondary: #f9f9fb;
    --bs-success: #82d616;
    --bs-info: #17c1e8;
    --bs-warning: #fbcf33;
    --bs-danger: #ea0606;
    --bs-light: #e9ecef;
    --bs-dark-header: #1c1c24;
    --bs-dark-sidebar: #1c1c24;
    --bs-dark-main: #13131a;
    --bs-dark-main2: #121317;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --background-widget: #1e2023;
    --bs-main: #f3f3f3;
    --light: #F9F9F9;
    --blue: #3C91E6;
    --light-blue: #CFE8FF;
    --grey: #eee;
    --dark-grey: #AAAAAA;
    --dark: #342E37;
    --red: #DB504A;
    --green: #82d616;
    --yellow: #FFCE26;
    --light-yellow: #FFF2C6;
    --orange: #FD7238;
    --light-orange: #FFE0D3;
    --light-green: #e9ffca;
}

body {
    background: var(--bs-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Logo */
.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

/* Card styling */
.card-header {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
}

.card-body p {
    color: #666;
}

/* Form fields */
.form-floating {
    margin-bottom: 1.2rem;
}

.form-control {
    border: 1px solid #ccc;
    padding: 1rem;
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    border-color: #5b86e5;
    box-shadow: 0 0 5px rgba(91, 134, 229, 0.4);
}

label {
    color: #666;
}

/* Toggle password visibility */
.password-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.password-toggle-icon:hover {
    color: #333;
}

.tombol-login {
    background: var(--bs-primary);
    color: white;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    border: none;
}

/* Links */
.text-end a,
.col-12 a {
    color: #3498db;
    text-decoration: none;
}

.text-end a:hover,
.col-12 a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #fff;
    background: transparent;
}

.footer-text strong {
    color: #ffffff;
}

/* Responsiveness */
@media (max-width: 576px) {
    .card-header {
        padding: 1.5rem;
    }

    .logo span {
        font-size: 0.9rem;
    }
}