/* General Body Styles */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5; /* Light subtle background */
}

/* Header Styling */
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .img-fluid {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
}

/* Gradient Text/Icon Mixin (for reusability) */
.gradient-text, .gradient-icon {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Required for background-clip: text to work properly */
}

/* Define specific gradients */
.gradient-icon {
    background-image: linear-gradient(45deg, #007bff, #28a745); /* Blue to Green */
}

.gradient-text {
    background-image: linear-gradient(45deg, #6c757d, #495057); /* Gray to Dark Gray */
}

/* Header H1 Gradient */
h1 .gradient-icon {
    background-image: linear-gradient(45deg, #007bff, #00d4ff); /* Blue to Cyan for main title */
}

/* Search Filter Styling */
#career-filter {
    padding-left: 2.5rem; /* Space for icon */
    border: none !important;
    transition: all 0.3s ease-in-out;
}

#career-filter:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

.input-group-text {
    border: none !important;
    background-color: transparent !important;
}

/* Career Card Styling */
.career-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid #e9ecef; /* Light border */
}

.career-card:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; /* Stronger shadow */
}

.career-logo-wrapper {
    width: 90px;
    height: 90px;
    background-color: #e6f2ff; /* Light blue background for icon */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Shadow for icon wrapper */
    transition: background-color 0.3s ease;
    overflow: hidden; /* Ensure logo stays within bounds */
}

.career-card:hover .career-logo-wrapper {
    background-color: #d0e8ff; /* Slightly darker on hover */
}

.career-logo-wrapper .career-logo {
    max-width: 80%; /* Ensure logo fits within the circle */
    max-height: 80%;
    object-fit: contain; /* Keep aspect ratio */
}

.card-title {
    font-size: 1.35rem;
    color: #343a40;
}

.career-badge {
    font-weight: 500;
    padding: 0.3em 0.6em;
    border-radius: 0.25rem;
    background-color: #e0f7fa !important; /* Light cyan */
    color: #00838f !important; /* Darker cyan text */
}

/* No Results Message */
#no-results-message {
    border: 2px dashed #dee2e6;
    border-radius: 1rem;
    background-color: #fefefe;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Footer */
footer {
    background-color: #343a40 !important;
}

/* Modal Specific Styles */
.modal-content {
    border: none;
}

.modal-header {
    position: relative;
    z-index: 1; /* Ensure close button is clickable */
}

.modal-title {
    font-size: 1.8rem;
}

.nav-pills .nav-link {
    font-weight: 500;
    color: #007bff;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
    transform: translateY(-2px); /* Slight lift for active tab */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #e9ecef;
    color: #0056b3;
}

.tab-content {
    padding-top: 1rem;
}

.tab-pane h5 {
    font-size: 1.25rem;
}

.tab-pane p, .tab-pane ul {
    line-height: 1.8;
}

.tab-pane ul {
    list-style: none; /* Remove default bullet */
    padding-left: 0;
}

.tab-pane ul li::before {
    content: "\f058"; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #28a745;
    margin-right: 0.5rem;
}

          
.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Tamaño máximo del contenedor del QR */
    margin: 0 auto; /* Centrar el contenedor en la página */
}

.qr-container {
    position: relative;
    width: 100%; /* Asegura que la imagen QR ocupe el ancho del contenedor */
    max-width: 300px; /* Tamaño deseado para el QR */
    height: auto;
    aspect-ratio: 1 / 1; /* Mantener relación de aspecto cuadrada */
}

.qr-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0.5rem; /* Opcional: bordes ligeramente redondeados para el QR */
}

.qr-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 25%; /* Ajusta el tamaño del logo superpuesto (ej. 25% del QR) */
    max-height: 25%; /* Asegura que no se deforme si el logo no es cuadrado */
    border-radius: 50%; /* Opcional: si quieres el logo en un círculo */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Sombra suave para el logo */
    background-color: white; /* Para asegurar que el fondo del logo sea blanco */
    padding: 5px; /* Pequeño relleno alrededor del logo */
}

/* Opcional: Si el QR es una imagen generada con el logo incrustado, solo necesitarías */
/* .qr-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
} */