/* ==========================================================================
   IPOPI ADMIN LOGIN STYLESHEET
   Matching reference screenshot: dark slate background with centered card
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-color: #343b46;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}

/* Centered White Card */
.login-card {
    background: #ffffff;
    width: 375px;
    max-width: 92vw;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    padding: 38px 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Box */
.login-logo {
    margin-bottom: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo img,
.login-logo svg {
    width: 155px;
    height: auto;
    display: block;
}

/* Form Container */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Alert Notification */
.login-alert {
    width: 100%;
    padding: 9px 12px;
    font-size: 12.5px;
    border-radius: 3px;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.login-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.login-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* Form Inputs */
.login-input-group {
    width: 100%;
    margin-bottom: 12px;
}

.login-input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: #2b303a;
    background-color: #ffffff;
    border: 1px solid #d5dbe0;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input::placeholder {
    color: #9aa3af;
    font-weight: 400;
}

.login-input:focus {
    border-color: #343b46;
    box-shadow: 0 0 0 1px #343b46;
}

/* Sign In Button */
.login-btn {
    width: 100%;
    height: 38px;
    background-color: #39424e;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.18s ease;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover {
    background-color: #2b333f;
}

.login-btn:active {
    background-color: #232a34;
}

/* Copyright Footer */
.login-footer {
    margin-top: 24px;
    font-size: 11.5px;
    color: #7c8794;
    text-align: center;
    user-select: none;
}
