*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.login-filosofica {
    font-family: "Poppins", "Open Sans", Arial, sans-serif;
    background: #f5f7fb;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-filosofica-wrap {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-filosofica-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-decoration: none;
    color: inherit;
}

.login-filosofica-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.login-filosofica-brand strong {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    color: #0f172a;
}

.login-filosofica-brand span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #94a3b8;
}

.login-filosofica-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    padding: 36px 32px 32px;
    text-align: center;
}

.login-filosofica-client-logo {
    width: 112px;
    height: 112px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-filosofica-client-logo img {
    max-width: 112px;
    max-height: 112px;
    object-fit: contain;
}

.login-filosofica-organograma-nome {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
}

.login-filosofica-card h1 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.login-filosofica-card .login-filosofica-subtitle {
    margin: 0 0 24px;
    font-size: 16px;
    color: #94a3b8;
    font-weight: 400;
}

.login-filosofica-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 16px;
    text-align: left;
}

.login-filosofica-form {
    text-align: left;
}

.login-filosofica-field {
    margin-bottom: 16px;
}

.login-filosofica-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.login-filosofica-field input[type="text"],
.login-filosofica-field input[type="password"],
.login-filosofica-field input[type="email"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 17px;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-filosofica-field input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.login-filosofica-field input::placeholder {
    color: #cbd5e1;
}

.login-filosofica-password {
    position: relative;
}

.login-filosofica-password input {
    padding-right: 44px;
}

.login-filosofica-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-filosofica-toggle:hover {
    color: #475569;
}

.login-filosofica-captcha {
    display: flex;
    justify-content: center;
    margin: 8px 0 20px;
}

.login-filosofica-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: #0b1f3a;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

.login-filosofica-submit:hover {
    background: #12284a;
}

.login-filosofica-footer {
    margin-top: 28px;
    text-align: center;
    color: #94a3b8;
}

.login-filosofica-footer .login-filosofica-dev {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-filosofica-centersis {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.login-filosofica-footer img {
    height: 26px;
    width: auto;
    display: inline-block;
}

.login-filosofica-footer .login-filosofica-secure {
    margin: 12px 0 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-filosofica-info {
    text-align: left;
}

.login-filosofica-info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #475569;
}

@media (max-width: 480px) {
    .login-filosofica-card {
        padding: 28px 20px 24px;
    }
}
