.gestion-medios-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.gestion-medios-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
    overflow: hidden;
}

.gestion-medios-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.gestion-medios-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.gestion-medios-close {
    color: #999;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gestion-medios-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.gestion-medios-body {
    padding: 24px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.gestion-medios-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
    align-items: start;
}

.gestion-medios-column {
    display: flex;
    flex-direction: column;
}

.gestion-medios-column-left {
    border-right: 2px solid #444;
    padding-right: 24px;
}

.gestion-medios-column-center {
    border-right: 2px solid #444;
    padding-right: 24px;
    padding-left: 24px;
}

.gestion-medios-column-right {
    padding-left: 24px;
}

.gestion-medios-tipo-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gestion-medios-radio-label-vertical {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #1a1a1a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gestion-medios-radio-label-vertical:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.gestion-medios-radio-label-vertical input[type="radio"] {
    margin-right: 12px;
    accent-color: #d4af37;
}

.gestion-medios-radio-label-vertical:has(input[type="radio"]:checked) {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.gestion-medios-radio-text-vertical {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.gestion-medios-form-actions-bottom {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 20px;
}

.gestion-medios-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.gestion-medios-help {
    color: #999;
    font-size: 0.8rem;
    margin-top: 4px;
    line-height: 1.4;
}

.gestion-medios-counter {
    color: #d4af37;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.gestion-medios-section {
    margin-bottom: 24px;
}

.gestion-medios-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gestion-medios-section-header h4 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.gestion-medios-btn-add {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.gestion-medios-btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gestion-medios-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.gestion-medios-list::-webkit-scrollbar {
    width: 6px;
}

.gestion-medios-list::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.gestion-medios-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.gestion-medios-list::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.gestion-medios-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    transition: all 0.15s ease;
    overflow: hidden;
}

.gestion-medios-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #d4af37;
}

.gestion-medios-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.gestion-medios-card-icon {
    font-size: 1.2rem;
    margin-left: 8px;
    opacity: 0.8;
}

.gestion-medios-card-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.gestion-medios-card-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.gestion-medios-card-type {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.gestion-medios-card-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 8px;
}

.gestion-medios-card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.gestion-medios-card-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.gestion-medios-card-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gestion-medios-card-btn.edit:hover {
    color: #4ade80;
}

.gestion-medios-card-btn.delete:hover {
    color: #ef4444;
}

.gestion-medios-form-section {
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    margin-top: 2px;
}

.gestion-medios-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid #444;
}

.gestion-medios-form-header h4 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.gestion-medios-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gestion-medios-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gestion-medios-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.gestion-medios-input {
    padding: 12px 16px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    transition: all 0.15s ease;
}

.gestion-medios-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.gestion-medios-tipo-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gestion-medios-radio-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #1a1a1a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gestion-medios-radio-label:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.gestion-medios-radio-label input[type="radio"] {
    margin-right: 8px;
    accent-color: #d4af37;
}

.gestion-medios-radio-label:has(input[type="radio"]:checked) {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.gestion-medios-radio-text {
    color: #fff;
    font-weight: 500;
}

.gestion-medios-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.gestion-medios-btn-primary,
.gestion-medios-btn-cancel {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gestion-medios-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
}

.gestion-medios-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gestion-medios-btn-cancel {
    background: #444;
    color: #fff;
}

.gestion-medios-btn-cancel:hover {
    background: #555;
}

/* Selector de iconos */
.gestion-medios-icono-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gestion-medios-nombre-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gestion-medios-nombre-row .gestion-medios-input {
    flex: 1;
}

.gestion-medios-icono-btn {
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
}

.gestion-medios-icono-btn:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.gestion-medios-icono-btn:active {
    transform: scale(0.95);
}

/* Modal selector de iconos */
.icono-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.icono-selector-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
}

.icono-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #444;
}

.icono-selector-header h4 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.icono-selector-close {
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icono-selector-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.icono-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.icono-selector-grid::-webkit-scrollbar {
    width: 4px;
}

.icono-selector-grid::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 2px;
}

.icono-selector-grid::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}

.icono-option {
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.icono-option:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.1);
}

.icono-option.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Responsive para selector de iconos */
@media (max-width: 768px) {
    .icono-selector-content {
        width: 95%;
        max-width: 400px;
        margin: 20px;
    }

    .icono-selector-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .icono-option {
        padding: 10px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .icono-selector-content {
        width: 98%;
        margin: 10px;
    }

    .icono-selector-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .icono-option {
        padding: 8px;
        font-size: 1.1rem;
    }
}

/* Estilos de botones como en fondos.html */
.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #b91c1c;
}

@media (max-width: 768px) {
    .gestion-medios-content {
        width: 98%;
        max-height: 95vh;
    }

    .gestion-medios-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gestion-medios-column-left,
    .gestion-medios-column-right {
        border: none;
        padding: 0;
    }

    .gestion-medios-column-left {
        order: 2;
    }

    .gestion-medios-column-right {
        order: 1;
    }

    .gestion-medios-list {
        grid-template-columns: 1fr;
    }

    .gestion-medios-tipo-options {
        grid-template-columns: 1fr;
    }

    .gestion-medios-form-actions {
        flex-direction: column;
    }

    .gestion-medios-btn-primary,
    .gestion-medios-btn-cancel {
        width: 100%;
    }

    .gestion-medios-tipo-options-vertical {
        gap: 12px;
    }

    .gestion-medios-radio-label-vertical {
        padding: 12px;
    }

    .gestion-medios-form-group {
        margin-bottom: 20px;
    }

    .gestion-medios-nombre-row {
        flex-direction: column;
        gap: 12px;
    }

    .gestion-medios-icono-btn {
        align-self: flex-start;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .gestion-medios-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .gestion-medios-header {
        padding: 16px;
    }

    .gestion-medios-header h3 {
        font-size: 1.1rem;
    }

    .gestion-medios-body {
        padding: 16px;
    }

    .gestion-medios-section-header h4 {
        font-size: 1rem;
    }

    .gestion-medios-radio-text-vertical {
        font-size: 0.9rem;
    }

    .gestion-medios-input {
        font-size: 16px; /* Previene zoom en iOS */
    }

    .gestion-medios-help {
        font-size: 0.8rem;
    }

    .gestion-medios-form-actions-bottom {
        gap: 12px;
    }

    .gestion-medios-btn-primary,
    .gestion-medios-btn-cancel {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ===========================================
   ESTILOS MOBILE - DISENO PROPIO
   =========================================== */

/* Control de versiones desktop/mobile */
.gestion-medios-desktop-version {
    display: block;
}

.gestion-medios-mobile-version {
    display: none;
}

@media (max-width: 768px) {
    .gestion-medios-desktop-version {
        display: none;
    }

    .gestion-medios-mobile-version {
        display: block;
    }

    .gestion-medios-content {
        width: 95%;
        max-width: 95%;
        padding: 0;
    }

    .gestion-medios-header {
        padding: 20px;
        border-bottom: 1px solid #333;
    }

    .gestion-medios-mobile-container {
        padding: 0;
    }
}

/* Indicador de pasos */
.gestion-medios-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 1px solid #333;
}

.gestion-medios-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.gestion-medios-step-item.active .step-circle {
    background: linear-gradient(135deg, #f5c842 0%, #f59e0b 100%);
    color: #000;
    border-color: #f5c842;
}

.gestion-medios-step-item.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #ccc;
    font-weight: 500;
    text-align: center;
}

.gestion-medios-step-item.active .step-label {
    color: #f5c842;
}

.gestion-medios-step-item.completed .step-label {
    color: #10b981;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: #333;
    margin: 0 8px;
}

.gestion-medios-step-item.completed + .step-connector {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* Contenido de pasos */
.gestion-medios-step-content {
    min-height: 400px;
    padding: 20px;
}

.gestion-medios-step-section {
    display: none;
}

.gestion-medios-step-section.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gestion-medios-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.gestion-medios-step-title {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.gestion-medios-step-subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

/* Cards de tipo de medio */
.gestion-medios-tipo-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.gestion-medios-tipo-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gestion-medios-tipo-card:hover {
    border-color: #f5c842;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 200, 66, 0.2);
}

.gestion-medios-tipo-card.selected {
    border-color: #f5c842;
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    box-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
}

.tipo-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.tipo-card-text {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

/* Formulario mobile */
.gestion-medios-mobile-form {
    margin-top: 20px;
}

.gestion-medios-mobile-form-group {
    margin-bottom: 24px;
}

.gestion-medios-mobile-label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 500;
}

.gestion-medios-mobile-nombre-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.gestion-medios-mobile-icono-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #555;
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gestion-medios-mobile-icono-btn:hover {
    border-color: #f5c842;
    box-shadow: 0 0 15px rgba(245, 200, 66, 0.3);
}

.gestion-medios-mobile-input {
    flex: 1;
    padding: 14px 16px;
    background: #333;
    border: 2px solid #555;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.gestion-medios-mobile-input:focus {
    outline: none;
    border-color: #f5c842;
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.2);
}

.gestion-medios-mobile-help {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 8px;
    font-style: italic;
}

/* Lista mobile */
.gestion-medios-mobile-list-container {
    margin-top: 20px;
}

.gestion-medios-mobile-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gestion-medios-mobile-counter {
    font-size: 0.9rem;
    color: #ccc;
}

.gestion-medios-mobile-list {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 10px;
    background: #2a2a2a;
    border: 1px solid #444;
}

.gestion-medios-mobile-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #333;
    transition: all 0.2s ease;
}

.gestion-medios-mobile-list-item:last-child {
    border-bottom: none;
}

.gestion-medios-mobile-list-item:hover {
    background: #333;
}

.gestion-medios-mobile-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gestion-medios-mobile-item-icon {
    font-size: 1.5rem;
}

.gestion-medios-mobile-item-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.gestion-medios-mobile-item-actions {
    display: flex;
    gap: 8px;
}

.gestion-medios-mobile-btn-edit,
.gestion-medios-mobile-btn-delete {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gestion-medios-mobile-btn-edit {
    background: #f5c842;
    color: #000;
}

.gestion-medios-mobile-btn-edit:hover {
    background: #f59e0b;
}

.gestion-medios-mobile-btn-delete {
    background: #dc2626;
    color: white;
}

.gestion-medios-mobile-btn-delete:hover {
    background: #b91c1c;
}

/* Navegacion de pasos */
.gestion-medios-mobile-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 1px solid #333;
}

.gestion-medios-nav-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f5c842 0%, #f59e0b 100%);
    color: #000;
}

.gestion-medios-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 200, 66, 0.3);
}

.gestion-medios-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gestion-medios-nav-prev {
    background: #555;
    color: #fff;
}

.gestion-medios-nav-prev:hover {
    background: #666;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gestion-medios-nav-spacer {
    flex: 1;
}

/* Keyframe animations */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
