/* CSS para página de apresentação de cães */

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 15px 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    z-index: 3;
}

.step-circle.active {
    background-color: #eb0028;
    border: 3px solid #eb0028;
}

.step-circle.inactive {
    background-color: #ccc;
    border: 3px solid #ccc;
}

.connection {
    flex: 1;
    height: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-line {
    width: 100%;
    height: 4px;
    position: absolute;
}

.connection-line.completed {
    background-color: #00c851;
}

.connection-line.pending {
    background-color: #ddd;
}

.connection-text {
    display: none;
}

.step-text {
    display: block;
    font-size: 12px;
    color: #333;
    margin: 8px 0 0 0;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    word-wrap: break-word;
    hyphens: auto;
}

.step-text.inactive {
    color: #999;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    max-height: 350px;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Otimizações para viewport */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

h3 {
    font-size: 1.4em;
    line-height: 1.3;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .progress-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: flex-start;
        padding: 15px 5px;
        overflow-x: auto;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        min-width: 60px;
        max-width: 80px;
        margin: 0 2px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 4px;
        flex-shrink: 0;
    }

    .connection {
        display: flex;
        flex: 0;
        width: 15px;
        height: 2px;
        margin-top: 16px;
        align-self: flex-start;
    }

    .connection-line {
        width: 100%;
        height: 2px;
    }

    .connection-text {
        display: none;
    }

    .step-text {
        display: block !important;
        font-size: 10px;
        color: #333;
        margin: 0;
        text-align: center;
        line-height: 1.1;
        font-weight: 500;
        word-wrap: break-word;
        hyphens: auto;
    }

    .step-text.inactive {
        color: #999;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    h3 {
        font-size: 1.1em;
        margin-bottom: 8px !important;
    }
    
    p {
        font-size: 14px;
        margin-bottom: 12px !important;
    }
    
    .video-container {
        max-height: 250px;
        margin-bottom: 15px;
    }
    
    .row {
        margin-bottom: 10px;
    }
}

/* Responsivo para telas baixas */
@media (max-height: 700px) {
    .progress-container {
        padding: 10px 20px 5px 20px;
    }
    
    h3 {
        margin-bottom: 5px !important;
    }
    
    p {
        margin-bottom: 10px !important;
    }
    
    .video-container {
        margin-bottom: 15px !important;
        max-height: 300px;
    }
}

