* {
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #000;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    width: 500px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: #000;
}

.logo-box {
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* FORM */
.field {
    margin-bottom: 15px;
}

label {
    color: #aaa;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
}

input:focus {
    outline: none;
    border-color: #00C853;
}

/* BUTTON */
button {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: #00C853
;
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #00752f;
}

/* ERROR */
.error {
    background: #ff3b3b;
    color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}


.messages {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    min-width: 260px;
    animation: slideIn 0.35s cubic-bezier(.4,0,.2,1);
}

/* SUCCESS */
.alert.success {
    background: #0f2e1e;
    color: #2ecc71;
    border: 1px solid #1f5c3b;
}

/* ERROR */
.alert.error {
    background: #2e0f0f;
    color: #ff5c5c;
    border: 1px solid #5c1f1f;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Exit animation */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(40px);
        opacity: 0;
    }
}

.alert.hide {
    animation: slideOut 0.35s cubic-bezier(.4,0,.2,1) forwards;
}

/* Forgot Password Button */
.forgot-password {
  margin-top: 14px;
  text-align: center;
}

.forgot-password a {
  font-size: 16px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password a:hover {
  color: #00C853;
}
