/* app/static/css/styles.css */

/* Estilos generales */
body {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Estilos para las tarjetas */
.launch-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    background: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.launch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estilos para las imágenes */
.card-image-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0));
    pointer-events: none;
}

/* Estilos para el cuerpo de la tarjeta */
.card-body {
    position: relative;
    padding-top: 3rem;
}

/* Estilos para el badge de estado */
.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    max-width: 90%;
    white-space: normal;
    text-align: right;
    word-wrap: break-word;
    font-size: 0.85rem;
    line-height: 1.2;
    z-index: 1;
}

/* Estilos para el countdown */
.countdown {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0d6efd;
    text-align: center;
    padding: 0.5rem;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 0.25rem;
    margin: 1rem 0;
}

/* Estilos para los detalles del lanzamiento */
.launch-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.launch-details i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .card-image-top {
        height: 180px;
    }

    .countdown {
        font-size: 1rem;
    }
}

/* Estilos para el mensaje de no hay lanzamientos */
.text-muted {
    color: #6c757d !important;
}