body {
    background-color: #f8f9fa;
}

.header {
    background-color: #2774AE;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    margin: 0;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    padding: 40px 20px;
}

.login-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

.tenant-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    min-height: 112px;
    padding: 10px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
}

.tenant-logo {
    max-width: 200px;
    max-height: 92px;
    object-fit: contain;
}

.tenant-fallback-label {
    padding: 10px 14px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f4f82;
    letter-spacing: 0.04em;
}

.instruction-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.instruction-text strong {
    color: #333;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.form-control {
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-size: 1rem;
}

.required-indicator {
    color: #d32f2f;
    font-size: 0.5rem;
    vertical-align: super;
    margin-left: 1px;
}

.btn-login {
    background-color: #2774AE;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #1e5a8a;
    color: white;
}

.btn-login:disabled {
    background-color: #2774AE;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cancel:hover {
    background-color: #5a6268;
    color: white;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.alert {
    margin-bottom: 20px;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #2774AE;
    text-decoration: none;
    font-size: 1.0rem;
}

.back-link a:hover {
    text-decoration: underline;
}