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

body {
    background-color: #ffffff;
    color: #2d3748;
    font-family: "Inter", "Rubik", Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 1rem;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
}

/* Brand header: logo + title + powered by — sits above the form */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.75rem;
    text-align: center;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.site-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.powered-by {
    font-size: 0.8rem;
    font-weight: 400;
    color: #8a98a8;
    letter-spacing: 0.02em;
}

/* Login form card */
.login-form {
    background-color: #ffffff;
    padding: 2rem 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(26, 58, 92, 0.10), 0 1px 4px rgba(26, 58, 92, 0.06);
    width: 100%;
    text-align: center;
    border: 1px solid #e2eaf4;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #c8daf0, transparent);
    margin-bottom: 1.6rem;
}

.input-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #c8daf0;
    border-radius: 0.5rem;
    background-color: #f8fafd;
    color: #2d3748;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.input-group input::placeholder {
    color: #a0aec0;
    font-size: 0.875rem;
}

.input-group input:focus {
    border-color: #1e5fa8;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.10);
}

button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #1e5fa8;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(30, 95, 168, 0.25);
}

button:hover {
    background-color: #174d8a;
    box-shadow: 0 4px 14px rgba(30, 95, 168, 0.35);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(30, 95, 168, 0.2);
}

.error {
    color: #c53030;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 0.4rem;
    padding: 0.6rem 0.75rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: left;
}
