* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: Arial, sans-serif;
    background: url('/assets/img/logo-login.png') no-repeat center center fixed; /* Logo as full background */
    background-size: cover; /* Ensure the logo covers the full screen */
    display: flex; 
    align-items: center; 
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.login-wrapper {
    background: rgba(255, 255, 255, 0.8); /* Transparent white background for form */
    padding: 30px;
    max-width: 600px; 
    width: 100%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.login-logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Make logo fill the entire screen */
    height: 100%;
    object-fit: cover; /* Ensure the logo fills the screen */
    opacity: 0.1; /* Make the logo semi-transparent */
    z-index: -1; /* Put logo in the background */
}

.brand {
    font-family: 'Staatliches', cursive;
    font-size: 36px;
    color: #333;
    margin-bottom: 5px;
}

@keyframes slideText {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}

.cpanel-title {
    font-family: 'Rock Salt', cursive;
    font-size: 28px;
    margin-bottom: 20px;
    animation: slideText 2s ease-in-out infinite;
}

.error {
    background: #ffe5e5;
    color: #900;
    padding: 8px;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    border: 1px solid #f00;
}

.login-form {
    border: 6px solid #000;
    padding: 30px; 
    position: relative;
    z-index: 2;
}

.login-form input {
    width: 100%;
    padding: 15px; 
    margin: 10px 0;
    font-size: 16px;
    border: 2px solid #333;
    font-family: 'Rock Salt', cursive;
}

.login-form input::placeholder { 
    color: #333; 
}

.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 16px;
    border: 2px solid #333;
    font-family: 'Rock Salt', cursive;
}

.password-container .show-password-label {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 16px;
    color: #333;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    font-family: 'Rock Salt', cursive;
    font-size: 16px;
    margin-top: 15px;
}

.login-actions a {
    color: #000;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-family: 'Staatliches', cursive;
    font-size: 14px;
    letter-spacing: 1px;
}

.login-form button {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #555;
}

form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px; 
    background-color: #ffffff;
    border: 2px solid #000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;

/* styling untuk widget stats */
.stats {
  text-align: center;
  margin: 1em 0;
  font-size: 0.9em;
  color: #555;
}
