@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --brand: #5607ec;
    --brand-dark: #4405bd;
    --bs-border-radius: 0.65rem;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f3fb;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.form-shell {
    width: 100%;
    max-width: 720px;
}

.card {
    border-radius: 25px;
    border: none;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, var(--brand), #8a3ffc);
    color: #ffffff;
    text-align: center;
    padding: 32px 24px;
    border: none;
}

.card-header .brand-icon {
    font-size: 36px;
}

.card-header .brand-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 10px 0 2px;
    word-break: break-word;
}

.card-header .empresa-tag {
    opacity: 0.85;
    font-size: 0.9rem;
    margin: 0;
}

.card-body {
    padding: 28px 24px 32px;
    background-color: #ffffff;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333333;
}

.input-group-text {
    background-color: #f5f3fb;
    color: var(--brand);
    border-color: #e3ddf7;
}

.form-control,
.form-select {
    border-color: #e3ddf7;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(86, 7, 236, 0.15);
}

.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
    border-radius: 999px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: 0 8px 18px rgba(86, 7, 236, 0.3);
    transform: translateY(-1px);
}

.btn-primary .material-icons {
    font-size: 20px;
    vertical-align: -4px;
    margin-right: 4px;
}

footer {
    color: #8a8698;
    font-size: 0.85rem;
}
