:root {
    --brand-red: #cd1719;
    --brand-dark-blue: #1f4f9e;
    --brand-blue: #0671b9;
    --brand-light-gray: #a6a6a8;
    --brand-gray: #6a6a69;
    --brand-black: #000000;
    --brand-white: #FFFFFF;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f0f2f5; /* Changed from #f4f6f9 to match gemini-styles.css */
    color: var(--brand-gray);
    font-family: var(--font-family-sans-serif);
}
.hero-section {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, var(--brand-blue) 100%);
    color: var(--brand-white);
    padding: 4rem 2rem; /* Adjusted padding to match gemini-styles.css */
    border-radius: 0.5rem; /* Adjusted border-radius */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); /* Added box-shadow */
}
.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}
.hero-section p {
    position: relative;
    z-index: 2;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
    z-index: 1;
}
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07); /* Adjusted box-shadow to match gemini-styles.css */
    transition: transform 0.2s;
    border-radius: 1rem; /* Increased border-radius */
}
.card-header {
    background-color: var(--brand-dark-blue); /* Changed to use variable */
    color: var(--brand-white); /* Changed to use variable */
    font-weight: 500;
    border-radius: 1rem 1rem 0 0; /* Increased border-radius */
}
.summary-card #total {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark-blue); /* Changed to use variable */
}
.Pfooter {
    text-align: center;
    padding: 2rem 2rem; /* Adjusted padding to match gemini-styles.css */
    background-color: var(--brand-dark-blue); /* Changed to use variable */
    color: white; /* Changed to use variable */
    border-radius: 1rem;
}
.Pfooter a {
    color: white; /* Added link color */
}
.sticky-top-md {
    position: -webkit-sticky;
    position: sticky;
    top: 1.5rem; /* Adjusted top to match gemini-styles.css */
    z-index: 1020; /* Added z-index */
}
.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
.btn-primary:hover {
    background-color: var(--brand-dark-blue);
    border-color: var(--brand-dark-blue);
}
.btn-secondary {
    background-color: var(--brand-gray);
    border-color: var(--brand-gray);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
.btn-secondary:hover {
    background-color: var(--brand-black);
    border-color: var(--brand-black);
}
/* Alert Info styles */
.alert-info {
    background-color: rgba(6, 113, 185, 0.1); /* Light blue background */
    color: var(--brand-dark-blue); /* Dark blue text */
    border-color: var(--brand-blue); /* Blue border */
}
.alert-info .alert-heading {
    color: var(--brand-dark-blue);
}
.alert-info hr {
    border-top-color: rgba(6, 113, 185, 0.3);
}

/* Stepper Styles */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--brand-dark-blue); /* Changed from var(--brand-light-gray) */
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
}
.step {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--brand-white); /* Changed from var(--brand-light-gray) */
    font-weight: 500;
    transition: color 0.3s;
}
.step .step-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s, border-color 0.3s;
}
.step.active {
    color: var(--brand-white); /* Changed from var(--brand-blue) */
}
.step.active .step-icon {
    border-color: var(--brand-red); /* Reverted to var(--brand-red) */
    background-color: var(--brand-red);
    color: #fff;
}
.step.completed .step-icon {
    border-color: var(--brand-blue); /* Reverted to var(--brand-blue) */
    background-color: var(--brand-blue);
    color: #fff;
}
 .step.completed {
    color: var(--brand-dark-blue);
}
.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--brand-white);
    margin: 0 1rem;
    transform: translateY(-15px);
}
.step-content {
    display: none;
}
.step-content.active {
    display: block;
}
.select2-container {
    width: 100% !important;
}

/* For imagenes/FUNDAUNA.png */
.hero-logo-fundauna {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 150px;
}

/* For imagenes/logo.png */
.hero-logo-main {
    max-width: 120px;
    border-radius: 15px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* For imagenes/miniescudo.png */
.footer-logo-mini {
    height: 20px;
}

/* Styles for pago.php */
.hidden-form {
    display: none;
}


/* Styles for reimprime.php */
.logo-reimprime {
    max-width: 150px;
}

@media print {
    .noprint, .Pfooter, .hero-section { display: none !important; }
    body { background-color: #fff; }
    .card { box-shadow: none; border: 1px solid #dee2e6; }
}

