/*body {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background-color: #ffffff;*/
/*}*/
/* The `body` rule that used to sit here set a white background on EVERY
   admin page, not just the login screen -- this file is linked app-wide.
   .admin-login-page below already covers the viewport in white, so the
   login screen is unchanged and the admin grey is no longer overridden. */

.admin-login-page {
    background-color: #ffffff;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.admin-login-logo {
    width: 120px;
    margin-bottom: 30px;
    pointer-events: none;
}

.admin-login-logo svg {
    width: 100%;
    height: auto;
    display: block;
}

.admin-login-card {
    background-color: #f5f5f5;
    padding: 30px 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-login-title {
    font-size: 1rem;
    color: #444;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.field {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.field label {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #555;
}

.input {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    background-color: #FFFFFF;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.forgot-password {
    color: #ff4500;
    font-size: 0.7rem;
    text-decoration: none;
    margin-top: 5px;
    display: block;
}

.login-btn {
    background-color: #FF6C08;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    /*float: right;*/
    display: block;
    margin-top: 10px;
    margin-left: auto;
    transition: background 0.2s;
}

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

.admin-login-form::after {
    content: "";
    clear: both;
    display: table;
}

.error {
    color: #d9534f;
    font-size: 0.8rem;
    margin-top: 15px;
    text-align: center;
}

/* ---- Sign-in > Google option (devise/sessions/new) ---- */
.admin-login-card .login-divider {
    clear: both;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
}

.admin-login-card .login-divider-line {
    flex: 1;
    height: 1px;
    background: #EAECF0;
}

.admin-login-card .login-divider-text {
    font-size: 0.72rem;
    color: #98A2B3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-login-card .login-google-form {
    margin: 0;
}

.admin-login-card .login-google-button {
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFFFFF;
    color: #344054;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 11px 0;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}
