/* ===== Login page — specific styles ===== */

.login-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 56px rgba(120,80,220,0.28), 0 4px 18px rgba(0,0,0,0.13);
    padding: 52px 48px 44px;
    width: 100%;
    max-width: 460px;
}

/* Inputs with icons */
.input-wrap { position: relative; margin-bottom: 12px; }

.input-wrap .icon-left {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: #9ca3af; font-size: 1rem; pointer-events: none;
}

.input-wrap .icon-right {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    color: #9ca3af; font-size: 1rem; cursor: pointer; background: none; border: none; padding: 0;
}

.input-wrap input {
    width: 100%; background: #e8eef4; border: none; border-radius: 8px;
    padding: 12px 40px; font-size: 0.9rem; color: #374151;
    outline: none; transition: background 0.2s;
}
.input-wrap input:focus { background: #dde6f0; }
.input-wrap input::placeholder { color: #9ca3af; }

/* Remember me / Forgot password row */
.options-row {
    display: flex; justify-content: space-between; align-items: center;
    margin: 14px 0 20px; font-size: 0.85rem;
}
.options-row label { display: flex; align-items: center; gap: 6px; color: #374151; cursor: pointer; }
.options-row a { color: #374151; text-decoration: none; }
.options-row a:hover { color: #6c3fd1; }

/* Sign In button */
.btn-signin {
    width: 100%; padding: 8px 13px;
    background: #a495ff;
    color: #fff; font-size: 1rem; font-weight: 700; border: none;
    border-radius: 10px; cursor: pointer; letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(90,79,207,0.18); transition: opacity 0.2s;
}
.btn-signin:hover { opacity: 0.92; }

/* OR divider */
.or-divider { text-align: center; color: #9ca3af; font-size: 0.85rem; margin: 16px 0; }

/* Google button */
.btn-google {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 11px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 10px;
    font-size: 0.9rem; font-weight: 500; color: #374151; cursor: pointer;
    text-decoration: none; transition: background 0.2s;
}
.btn-google:hover { background: #f9fafb; color: #374151; }
.btn-google svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Larger TOOLii mascot on the login page */
.login-char-img {
    max-height: calc(48vh + 40px) !important;
}

@media (max-width: 767px) {
    .login-card { padding: 36px 26px 30px; max-width: 100%; }
    .login-char-img { max-height: 320px !important; }
}
