:root {
    --primary: #135bec;
    --background-light: #f6f6f8;
    --background-dark: #101622;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Public Sans', sans-serif;
    background: var(--background-light);
    margin: 0;
}

/* Layout principal */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    position: relative;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    color: #fff;
    background: linear-gradient(135deg,#135bec,#0f3f9e);
    overflow: hidden;
}

@media (min-width: 992px) {
    .sidebar {
        display: flex;
        width: 41.666666%; /* 5/12 */
    }
}

@media (min-width: 1200px) {
    .sidebar {
        width: 33.333333%; /* 1/3 */
    }
}

.sidebar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .25;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Conteúdo direito */
.content-area {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 3rem;
}

@media (max-width: 991px) {
    .content-area {
        padding: 1.5rem;
    }
}

/* Cards */
.card-custom {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* Progress */
.progress-custom {
    height: 8px;
    background: #dbdfe6;
    border-radius: 20px;
    overflow: hidden;
}

.progress-custom .bar {
    height: 100%;
    width: 50%;
    background: var(--primary);
}

/* Botões */
.btn-primary-custom {
    background: var(--primary);
    border: none;
    color: #fff;
}

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

/* Inputs com ícone */
.icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.input-icon {
    padding-left: 40px;
}

/* Seções desabilitadas */
.section-disabled {
    opacity: .5;
    pointer-events: none;
}

/* Toggle Password */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

/* Checklist */
.password-checklist {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
}

.section-disabled{
    opacity:0.5;
    pointer-events:none;
}
