
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: #111827;
    font-family: 'Segoe UI', sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 12px;
}

.login-wrap {
    width: 100%;
    max-width: 680px;
}

.card {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.20);
    overflow: hidden;
}

.card-header {
    background: #fff;
    color: #111827;
    text-align: center;
    padding: 12px 28px 6px;
    border-bottom: 0;
}

.login-logo {
    display: block;
    max-width: 92px;
    height: auto;
    margin: 0 auto 7px;
    border-radius: 18px;
}

.card-header h3 {
    font-size: 23px;
    line-height: 1.08;
    margin: 0;
    font-weight: 800;
    color: #111827;
}

.card-header p {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.3;
    margin: 5px 0 0;
}

.card-body {
    padding: 14px 38px 0;
}

.social-wrap {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}

.social-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #dfe3ea;
    background: #fff;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border-color: #cfd6e2;
    color: #111827;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.divider {
    display: flex;
    align-items: center;
    color: #6b7280;
    margin: 10px 0 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dde3ea;
}

.divider span {
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
}

.form-label {
    color: #111827;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-control {
    height: 40px;
    border-radius: 9px;
    padding: 0 14px;
    border: 1px solid #d5dbe5;
    color: #111827;
}

.input-group .form-control {
    border-radius: 9px 0 0 9px;
}

.input-group .btn {
    width: 48px;
    border-radius: 0 9px 9px 0;
    border-color: #d5dbe5;
}

.form-check-label,
.form-check-input {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary {
    height: 42px;
    border-radius: 9px;
    background: #0d6efd;
    border: none;
    font-weight: 700;
    padding: 0;
}

.btn-primary:hover {
    background: #0b5ed7;
}

.btn-entrar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0c5bd6;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-entrar:hover {
    background: #0a4fc2;
    transform: translateY(-1px);
}

.create-account {
    color: #111827;
    margin: 10px 0 12px;
}

.login-footer {
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 34px;
    padding: 6px 16px;
    color: #6b7280;
    font-size: 13px;
}

.login-footer a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    color: #0d6efd;
}

.login-footer .separator {
    width: 1px;
    height: 18px;
    background: #d1d5db;
}

.login-copy {
    text-align: center;
    color: rgba(255,255,255,0.86);
    font-size: 11px;
    margin-top: 6px;
}

@media (max-width: 575px) {
    .login-page {
        padding: 8px;
    }

    .login-wrap {
        max-width: 100%;
    }

    .card-header {
        padding: 12px 18px 6px;
    }

    .login-logo {
        max-width: 82px;
    }

    .card-header h3 {
        font-size: 21px;
    }

    .card-header p {
        font-size: 12px;
    }

    .card-body {
        padding: 14px 18px 0;
    }

    .social-wrap {
        flex-direction: column;
        gap: 8px;
    }

    .login-footer {
        gap: 18px;
        font-size: 12px;
    }
}

