/* CSS ORIGINAL EXTRACTADO */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #2ec4b6;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Urbanist', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 100vh;
}

.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand img {
    border-radius: 10px;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.btn-flow {
    background: linear-gradient(135deg, var(--primary-color), #e55a2b);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-flow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
    color: white;
}

.hero-section {
    background: url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.display-1 {
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ff6b35, #2ec4b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-flow {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    color: white;
}

.card-flow:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.card-flow img {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

.section-title {
    font-weight: 900;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #ff6b35, #2ec4b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer {
    background: var(--dark-color);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.admin-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.admin-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.admin-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.user-info-container {
    position: relative;
}

.user-display {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ff6b35;
    transition: all 0.3s ease;
}

.user-display:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    object-fit: cover;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a2e;
    border: 1px solid #ff6b35;
    border-radius: 8px;
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.user-dropdown a:hover {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content {
    background: var(--dark-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.btn-close {
    filter: invert(1);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-success {
    background: rgba(46, 196, 182, 0.2) !important;
    border: 1px solid #2ec4b6 !important;
    color: white !important;
}

.project-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.project-table th {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.project-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

.project-table tr:hover {
    background: rgba(255, 107, 53, 0.05);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(46, 196, 182, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.vision-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.collaborate-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(46, 196, 182, 0.15));
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #f8f9fa; 
}

#collaborate h3, 
#collaborate h4, 
#collaborate h5, 
#collaborate h6 {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#collaborate p, 
#collaborate li {
    color: #e0e0e0;
}

#collaborate strong {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.donation-option {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.donation-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.05);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--secondary-color);
}

.testimonial-card p {
    font-style: italic;
    color: #dcdcdc;
}

.testimonial-card strong {
    color: var(--primary-color);
}

#fsRegistroMaxiModal .modal-body,
#commerceModal .modal-body {
    overflow: hidden !important;
}

/* Estilos específicos para el formulario PardonFlow integrado */
.bg-dark-custom {
    background-color: rgba(0, 0, 0, 0.3);
}

.code-img {
    min-height: 130px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.carnet-card {
    width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Asegura que nada dentro del carnet de donador se redondee por error */
#pardon_carnetTarget div, 
#pardon_carnetTarget img, 
#pardon_carnet_qr img {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

/* Excepto el contenedor principal del carnet que sí quieres redondeado */
#pardon_carnetTarget > div {
    border-radius: 8px !important;
}

/* Estilos Carrusel */
.carrusel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.carrusel-track {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 30px;
}

.carrusel-container:hover .carrusel-track {
    animation-play-state: paused;
}

.carrusel-item {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,107,53,0.2);
}

.carrusel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-color);
    background: white;
}

.carrusel-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carrusel-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.carrusel-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 8)); }
}

/* Responsive */
@media (max-width: 768px) {
    .carrusel-item {
        width: 120px;
        height: 80px;
        padding: 8px;
    }
    .carrusel-item img {
        max-height: 55px;
    }
    @keyframes scroll {
        100% { transform: translateX(calc(-150px * 8)); }
    }
}