/* Vocacional IA — Layouts */

.voca-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.voca-main {
    flex: 1;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 2.5rem;
}

.voca-main--wide {
    max-width: 1400px;
}

.voca-main--narrow {
    max-width: 720px;
}

.voca-main--full {
    max-width: none;
    padding: 0 !important;
}

/* Navbar */
.voca-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--nav-height);
    background: rgba(30, 27, 75, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.voca-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff !important;
    letter-spacing: -0.02em;
}

.voca-navbar .navbar-brand img {
    height: 32px;
    width: auto;
}

.voca-navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.voca-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.voca-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(var(--primary-rgb), 0.45);
}

.voca-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem;
}

.voca-navbar .dropdown-item {
    border-radius: var(--radius-sm);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.voca-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.voca-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.voca-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

/* Footer */
.voca-footer {
    background: var(--sidebar);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem clamp(1rem, 3vw, 1.5rem);
    margin-top: auto;
    font-size: 0.875rem;
}

.voca-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.voca-footer a:hover {
    color: #fff;
}

.voca-footer__brand {
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.voca-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.voca-footer__links li {
    margin-bottom: 0.35rem;
}

.voca-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Auth layout */
.voca-auth {
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.voca-auth__brand {
    background: linear-gradient(145deg, var(--sidebar) 0%, #312e81 40%, var(--primary) 100%);
    color: #fff;
    padding: clamp(2rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.voca-auth__brand::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.voca-auth__brand h1 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.voca-auth__brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.voca-auth__features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    position: relative;
    z-index: 1;
}

.voca-auth__features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.voca-auth__features i {
    color: #a5b4fc;
    font-size: 1.1rem;
}

.voca-auth__form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--bg);
}

.voca-auth__form-inner {
    width: 100%;
    max-width: 420px;
}

.voca-auth__form .voca-card {
    padding: clamp(1.5rem, 4vw, 2rem);
}

@media (max-width: 991.98px) {
    .voca-auth {
        grid-template-columns: 1fr;
    }
    .voca-auth__brand {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    .voca-auth__brand h1 {
        font-size: 1.5rem;
    }
}

/* Profile tabs */
.voca-profile-tabs .nav-link {
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 0.75rem 1.25rem;
}

.voca-profile-tabs .nav-link.active {
    color: var(--primary);
    background: var(--surface);
    border-color: var(--border) var(--border) var(--surface);
}

/* Admin breadcrumb */
.admin-breadcrumb-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.admin-breadcrumb-bar .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.admin-breadcrumb-bar .breadcrumb-item.active {
    color: var(--text-muted);
}

/* Admin login */
.admin-login-wrap {
    max-width: 420px;
    margin: 2rem auto;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.admin-login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.admin-login-header p {
    color: var(--text-muted);
    margin: 0;
}
