/* =========================================================
   TOOLBENCH — LOGIN PAGE
   ========================================================= */


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #111;
}


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}


/* ---------------------------------------------------------
   LOGIN CARD
   --------------------------------------------------------- */

.login-card {
    width: 100%;
    max-width: 420px;

    padding: 42px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.logo-mark {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;

    margin-bottom: 7px;
}

.login-header p {
    color: #777;
    font-size: 14px;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}


/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.form-group input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    background: #fff;

    border: 1px solid #dcdcdc;
    border-radius: 9px;

    color: #111;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:hover {
    border-color: #bbb;
}

.form-group input:focus {
    border-color: #111;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* ---------------------------------------------------------
   PASSWORD
   --------------------------------------------------------- */

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------------------------------------------------------
   ERROR
   --------------------------------------------------------- */

.login-error {
    min-height: 18px;

    color: #c62828;

    font-size: 13px;
    line-height: 18px;
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.login-button {
    width: 100%;
    height: 48px;

    border: 1px solid #111;
    border-radius: 9px;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.login-button:hover {
    background: #222;

    transform: translateY(-2px);

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.08);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.login-footer {
    margin-top: 32px;

    text-align: center;

    color: #aaa;

    font-size: 12px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 30px 24px;
        border-radius: 14px;
    }

    .login-header {
        margin-bottom: 30px;
    }

}