/* --- ESTILOS PÁGINA GARANTÍAS (RMA) --- */

.warranty-page {
    font-family: 'Inter', sans-serif;
    background: #f0f2f5;
    padding-top: 100px;
    /* Espacio Header */
    padding-bottom: 80px;
    color: #333;
}

.warranty-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.warranty-header {
    text-align: center;
    margin-bottom: 40px;
}

.warranty-header h1 {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 10px;
}

.warranty-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Card Principal */
.warranty-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e1e4e8;
}

/* Barra superior decorativa (Estilo ventana de app) */
.card-top-bar {
    background: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.status-dot:nth-child(1) {
    background-color: #ff5f56;
}

/* Rojo */
.status-dot:nth-child(2) {
    background-color: #ffbd2e;
}

/* Amarillo */
.status-dot:nth-child(3) {
    background-color: #27c93f;
}

/* Verde */

.bar-title {
    margin-left: 15px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

/* Contenedor del Iframe */
.iframe-wrapper {
    position: relative;
    width: 100%;
    /* Altura fija suficiente para que se vea el formulario sin doble scroll molesto */
    height: 900px;
    background: #fff;
}

.warranty-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Info Box Footer */
.warranty-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 71, 161, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #0d47a1;
}

.info-item .icon {
    font-size: 1.2rem;
}

.info-item strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .warranty-header h1 {
        font-size: 2rem;
    }

    .iframe-wrapper {
        height: 1100px;
        /* Más altura en móvil porque el form se hace largo */
    }

    .warranty-info {
        flex-direction: column;
        gap: 10px;
    }
}