html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f6f9fc 0%, #e3ecf5 100%);
    padding: 1.5rem;
}

.card {
    max-width: 820px;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 2.8rem;
    padding: 2.2rem 2rem 2.8rem;
    box-shadow: 0 24px 48px -14px rgba(0, 20, 40, 0.25), 0 8px 24px -6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* HEADER */
.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f2f5;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;

    border-radius: 18px;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 16px -6px rgba(96, 66, 255, 0.3);
    overflow: hidden; /* Garante que a imagem não ultrapasse as bordas arredondadas */
    padding: 8px; /* Espaçamento interno para a imagem não ficar colada nas bordas */
}

    .logo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Mantém a proporção da imagem */
        display: block;
    }


.header-text .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1e2e;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

    .header-text .title span {
        color: #6042ff;
    }

.header-text .subtitle {
    font-size: 0.85rem;
    color: #5e6f7e;
    font-weight: 500;
    letter-spacing: 0.3px;
}

    .header-text .subtitle i {
        color: #6042ff;
        margin-right: 4px;
    }

/* Progresso Circular */
.progress-circle-container {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    cursor: default;
}

    .progress-circle-container svg {
        transform: rotate(-90deg);
        width: 72px;
        height: 72px;
    }

    .progress-circle-container .bg-circle {
        fill: none;
        stroke: #e8edf3;
        stroke-width: 6;
    }

    .progress-circle-container .progress-circle {
        fill: none;
        stroke: #6042ff;
        stroke-width: 6;
        stroke-linecap: round;
        transition: stroke-dashoffset 0.8s ease, stroke 0.5s ease;
    }

    .progress-circle-container .percentage-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1rem;
        font-weight: 700;
        color: #0b1e2e;
        text-align: center;
        line-height: 1.1;
    }

        .progress-circle-container .percentage-text small {
            display: block;
            font-size: 0.45rem;
            font-weight: 500;
            color: #5e6f7e;
            letter-spacing: 0.3px;
        }

/* Barra de Progresso */
.progress-bar {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 colunas iguais */
    margin-bottom: 2.2rem;
    position: relative;
    padding: 0 4px;
    width: 100%;
}

    .progress-bar::before {
        content: '';
        position: absolute;
        top: 19px;
        left: 0;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        background: #dce5ec;
        border-radius: 6px;
        z-index: 0;
    }

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: transparent;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #d6cef5;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #5e6f7e;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

    .step-circle.active {
        border-color: #6042ff;
        background: #6042ff;
        color: white;
        box-shadow: 0 8px 14px -6px rgba(96, 66, 255, 0.4);
    }

    .step-circle.completed {
        border-color: #4f35d6;
        background: #4f35d6;
        color: white;
    }

.step-label {
    margin-top: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #5e6f7e;
    transition: color 0.2s;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .step-label.active-label {
        color: #4a2fb3;
    }

/* Conteúdo */
.step-content {
    margin: 1.5rem 0 2rem;
    min-height: 200px;
}

.step-panel {
    display: none;
    animation: fadeSlide 0.35s ease forwards;
}

    .step-panel.active-panel {
        display: block;
    }

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-panel h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0b1e2e;
    margin-bottom: 0.25rem;
    letter-spacing: -0.3px;
}

.step-panel .sub {
    color: #4a5b6a;
    font-size: 0.85rem;
    margin-bottom: 1.4rem;
    border-left: 3px solid #6042ff;
    padding-left: 0.8rem;
    background: rgba(96, 66, 255, 0.04);
    border-radius: 0 4px 4px 0;
}

/* Formulário */
.form-group {
    margin-bottom: 1.2rem;
}

    .form-group label {
        display: block;
        font-weight: 500;
        font-size: 0.8rem;
        color: #1f3345;
        margin-bottom: 0.2rem;
        letter-spacing: -0.1px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.7rem 1rem;
        border: 1.5px solid #e2eaf1;
        border-radius: 18px;
        font-size: 0.9rem;
        background: white;
        transition: 0.2s;
        outline: none;
        color: #0b1e2e;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #6042ff;
            box-shadow: 0 0 0 4px rgba(96, 66, 255, 0.12);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #a7b8c7;
            font-weight: 350;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 60px;
        border-radius: 18px;
    }

    .form-group select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236042ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
        cursor: pointer;
    }

.inline-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

    .inline-group .form-group {
        flex: 1 1 0;
        min-width: 110px;
    }

        .inline-group .form-group.wide {
            flex: 2 1 0;
        }

/* Ícones nos inputs */
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-icon-wrapper i {
        position: absolute;
        left: 16px;
        font-size: 1rem;
        color: #7a8b9e;
        transition: color 0.2s;
        width: 1.2rem;
        text-align: center;
    }

    .input-icon-wrapper input {
        padding-left: 3rem;
    }

        .input-icon-wrapper input:focus + i,
        .input-icon-wrapper input:focus ~ i {
            color: #6042ff;
        }

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.3rem;
    padding: 0.3rem 0.5rem;
    background: #f4f8fe;
    border-radius: 30px;
    border: 1px solid #e2eaf1;
}

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #6042ff;
        cursor: pointer;
        margin: 0;
        flex-shrink: 0;
    }

    .checkbox-group label {
        font-size: 0.8rem;
        font-weight: 500;
        color: #1f3345;
        cursor: pointer;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .checkbox-group label i {
            color: #6042ff;
            font-size: 0.8rem;
        }

    .checkbox-group .checkbox-hint {
        font-size: 0.7rem;
        color: #5e6f7e;
        font-weight: 400;
    }

/* Entries */
.entry-list {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.entry-item {
    background: #f4f8fe;
    border-radius: 18px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #6042ff;
    font-size: 0.9rem;
    color: #0b1e2e;
    word-break: break-word;
}

    .entry-item .entry-text {
        flex: 1;
        margin-right: 0.8rem;
    }

        .entry-item .entry-text strong {
            display: inline-block;
            margin-right: 0.3rem;
        }

        .entry-item .entry-text .badge-atual {
            display: inline-block;
            background: #6042ff;
            color: white;
            font-size: 0.55rem;
            font-weight: 600;
            padding: 0.1rem 0.5rem;
            border-radius: 20px;
            margin-left: 4px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

    .entry-item .remove-btn {
        background: none;
        border: none;
        color: #b91c1c;
        cursor: pointer;
        font-size: 1.1rem;
        padding: 0 0.4rem;
        transition: 0.15s;
        border-radius: 30px;
        line-height: 1;
    }

        .entry-item .remove-btn:hover {
            transform: scale(1.2);
            color: #a00;
        }

/* Botões */
.btn-add-entry {
    background: transparent;
    border: 1.5px dashed #b8a8ff;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    color: #4a2fb3;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.3rem;
}

    .btn-add-entry:hover {
        background: #f0edff;
        border-color: #6042ff;
        color: #2f1a8a;
    }

    .btn-add-entry i {
        font-size: 0.8rem;
    }

.btn-skip {
    background: transparent;
    border: 1.5px solid #d0dce7;
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    color: #6a7b8a;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.3rem;
    margin-left: 0.8rem;
}

    .btn-skip:hover {
        background: #eef4f9;
        border-color: #b8c8d6;
        color: #1f3345;
    }

    .btn-skip i {
        font-size: 0.75rem;
    }

.actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.empty-hint {
    color: #8a9aaa;
    font-size: 0.85rem;
    font-style: italic;
    padding: 0.4rem 0;
}

/* Navegação */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    border: none;
    background: white;
    padding: 0.65rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f3345;
    border: 1.5px solid #dce5ec;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
    letter-spacing: 0.3px;
    background: #f8fafc;
}

.btn-primary {
    background: #6042ff;
    border-color: #6042ff;
    color: white;
    box-shadow: 0 6px 12px -6px rgba(96, 66, 255, 0.35);
}

    .btn-primary:hover {
        background: #4f35d6;
        border-color: #4f35d6;
        box-shadow: 0 10px 18px -8px rgba(96, 66, 255, 0.45);
    }

    .btn-primary:disabled {
        opacity: 0.5;
        pointer-events: none;
        transform: none;
        box-shadow: none;
    }

.btn-secondary {
    background: transparent;
    border: 1.5px solid #d0dce7;
}

    .btn-secondary:hover {
        background: #eef4f9;
        border-color: #b8c8d6;
    }

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.step-counter {
    font-size: 0.75rem;
    color: #5e6f7e;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Sucesso */
.success-message {
    display: none;
    background: #e6f4e6;
    padding: 0.9rem 1.2rem;
    border-radius: 60px;
    color: #136b3a;
    font-weight: 500;
    border: 1px solid #b8dfc0;
    text-align: center;
    margin: 0.5rem 0 0.2rem;
}

    .success-message.show {
        display: block;
    }

/* Ícones de redes */
.whatsapp-icon {
    color: #25D366;
}

.linkedin-icon {
    color: #0A66C2;
}

.github-icon {
    color: #333;
}

/* Responsivo */
@media (max-width: 600px) {
    .card {
        padding: 1.5rem 1rem;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.65rem;
    }

    .step-label {
        font-size: 0.45rem;
        white-space: normal;
        word-break: break-word;
    }

    .step-indicator {
        width: 12.5%;
    }

    .inline-group {
        flex-direction: column;
        gap: 0;
    }

    .btn {
        min-width: 60px;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .progress-bar {
        padding: 0 2px;
    }

    .actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-skip {
        margin-left: 0;
        justify-content: center;
    }

    .form-header {
        flex-wrap: wrap;
    }

    .header-text .title {
        font-size: 1.2rem;
    }

    .logo-wrapper {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
        border-radius: 14px;
    }

    .progress-circle-container {
        width: 56px;
        height: 56px;
    }

        .progress-circle-container svg {
            width: 56px;
            height: 56px;
        }

        .progress-circle-container .percentage-text {
            font-size: 0.8rem;
        }

            .progress-circle-container .percentage-text small {
                font-size: 0.4rem;
            }

    .checkbox-group {
        flex-wrap: wrap;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .step-label {
        font-size: 0.4rem;
    }

    .step-circle {
        width: 26px;
        height: 26px;
        font-size: 0.6rem;
    }

    .header-text .title {
        font-size: 1rem;
    }

    .header-text .subtitle {
        font-size: 0.7rem;
    }

    .logo-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .progress-circle-container {
        width: 48px;
        height: 48px;
    }

        .progress-circle-container svg {
            width: 48px;
            height: 48px;
        }

        .progress-circle-container .percentage-text {
            font-size: 0.7rem;
        }

            .progress-circle-container .percentage-text small {
                font-size: 0.35rem;
            }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type="date"]:disabled {
    background: #f0f2f5;
    cursor: not-allowed;
    opacity: 0.7;
}