/* Hero Sections */
.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -2px;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 420px;
    line-height: 1.6;
    color: white;
}

/* Agency List (Step 1) */
.agencia-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

.agencia-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: 0.3s;
}

.agencia-row:hover {
    padding-left: 10px;
    color: var(--primary);
}

.agencia-row .avatar {
    font-size: 1.4rem;
    filter: grayscale(1);
    transition: 0.3s;
    width: 25px;

}

.agencia-row .avatar img {
    width: 100%;
    height: 100%;
}

.agencia-row:hover .avatar {
    filter: grayscale(0);
    transform: scale(1.1);
}

.agencia-row .name {
    font-weight: 700;
    font-size: 1rem;
}

/* Interaction Options */
.gestion-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 25px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid transparent;
}

.option-item:hover {
    background: #f8fafc;
}

.option-item.selected,
.option-item.is-selected {
    background: #f5f7ff;
    border-color: var(--primary);
}

.option-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
}

.option-item.selected .dot,
.option-item.is-selected .dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.option-item .label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.option-item .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Inputs & Forms */
.input-wrapper {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
    pointer-events: none;
}

.input-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.input-wrapper label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.input-wrapper input {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: 2px solid #f1f5f9;
    font-size: 1rem;
    outline: none;
    background: #fcfcfd;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    background: white;
}

/* Buttons */
.btn-main {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 22px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: auto;
    transition: 0.4s;
}

.btn-main:hover {
    transform: translateY(-3px);
}

.btn-main:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Tables */
.table-pago {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-pago th {
    text-align: left;
    padding: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 800;
}

.table-pago td {
    padding: 18px 15px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}

.table-pago tr.selected {
    background: #f5f7ff;
}

.cell-main {
    font-weight: 700;
    color: var(--text-main);
}

.cell-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cell-amount {
    font-family: monospace;
    font-weight: 800;
    color: var(--primary);
}

/* Cards & Summary Utilities */
.step-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.item-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.item-card:hover {
    border-color: #e2e8f0;
}

.item-card.selected {
    border-color: var(--primary);
    background: #f5f7ff;
}

.total-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin: 10px 0 25px 0;
}

.tc-banner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 16px;
}

/* Payment Module Specifics */
.pago-panel {
    padding: 40px;
    overflow-y: auto;
}

.pago-sidebar {
    background: white;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.02);
}

.card-invoice {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
}

.card-invoice:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card-invoice.selected {
    border-color: var(--primary);
    background: #f5f7ff;
}

.btn-full {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-full:hover:not(:disabled) {
    background: var(--clarion-indigo);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-full:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Timer styles */
.cart-timer {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}