.primary-color {
    color: #5a6ff0;
}

.secondary-color {
    color: #5a6ff0;
}

.bg-primary {
    background-color: #5a6ff0 !important;
}

.btn-primary {
    background-color: #5a6ff0 !important;
    color: #fff;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #5a6ff0 !important;
}

.error-page {
    padding: 2rem;
}

.error-page h1 {
    font-size: 12rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--bs-primary), #6c757d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.conectar-section{
    background-color:rgb(235, 235, 253);
}
.preguntas-section{
    background-color:#FDF3EE;
}

.error-page h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.perfil-bg {
    background: #000 !important;
    min-height: 100vh;
}

.perfil-foto {
    border: none;
    box-shadow: none;
}

.social-btn-custom {
    background: #222 !important;
    color: #fff !important;
    border-radius: 2rem !important;
    border: none !important;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    min-width: 280px;
    max-width: 420px;
    box-shadow: none;
    transition: background 0.2s;
    justify-content: space-between;
}

.social-btn-custom:hover {
    background: #333 !important;
}

.social-btn-custom img,
.social-btn-custom i {
    flex-shrink: 0;
}

.card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 24px rgba(90, 111, 240, 0.08);
}

@media (max-width: 767.98px) {
    .perfil-foto {
        width: 80px !important;
        height: 80px !important;
    }

    .social-btn-custom {
        min-width: 90vw;
        max-width: 98vw;
        font-size: 1rem;
    }

    .position-absolute[style*="right: 48px"] {
        right: 16px !important;
    }
}

@media (max-width: 768px) {
    .error-page h1 {
        font-size: 8rem;
    }

    .error-page h2 {
        font-size: 2rem;
    }
}

.bg-overlay-section {
    position: relative;
    overflow: hidden;
}

.bg-overlay-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    z-index: 1;
}

.bg-overlay-section>.container,
.bg-overlay-section>* {
    position: relative;
    z-index: 2;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 32%;
    z-index: 1;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.4);
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: none;
}

h2{
    font-family: monospace;
}