/* Responsive styles for PIN input page */
#roteiro-view {
    width: 100%;
}

.inputpin-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    text-align: center;
    animation: fadeIn 0.5s ease-out;
    border: 1px solid #757575;

    h1 {
        font-size: 2rem;
        color: var(--text-main);
        margin-bottom: 2rem;
        font-weight: 600;
    }

    .pin-display {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;

        .pin-wrapper-user {
            width: 100%;
            max-width: 400px;

            .otp-input-container {
                display: flex;
                justify-content: center;
                gap: 0.75rem;
                margin: 0 auto;
                flex-wrap: wrap;
                /* Allow wrapping on very small screens */

                .otp-input {
                    width: 3.5rem;
                    height: 4rem;
                    font-size: 1.5rem;
                    text-align: center;
                    border: 2px solid #e0e0e0;
                    border-radius: 8px;
                    background-color: #f9f9f9;
                    transition: all 0.3s ease;
                    /* Ensure minimum touch target size for mobile */
                    min-width: 44px;
                    min-height: 44px;

                    &:focus {
                        border-color: var(--color-primary);
                        box-shadow: 0 0 0 3px rgba(76, 111, 175, 0.2);
                        outline: none;
                    }

                    &:hover {
                        border-color: #c0c0c0;
                    }
                }
            }
        }

        .button-container {
            width: 100%;

            .btn-iniciar {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
                padding: 0.75rem 2rem;
                font-size: 1.1rem;
                font-weight: 500;
                color: white;
                background-color: var(--color-primary);
                border: none;
                border-radius: 8px;
                cursor: pointer;
                transition: all 0.3s ease;
                box-shadow: 0 4px 8px rgba(76, 111, 175, 0.3);
                /* Ensure minimum touch target size for mobile */
                min-height: 44px;
                min-width: 120px;
                margin: 0 auto;
                /* Center the button */

                &:hover {
                    background-color: var(--color-primary);
                    transform: translateY(-2px);
                    box-shadow: 0 6px 12px rgba(76, 111, 175, 0.4);
                }

                &:active {
                    transform: translateY(0);
                    box-shadow: 0 2px 4px rgba(76, 111, 175, 0.3);
                }

                .material-symbols-outlined {
                    font-size: 1.5rem;
                }
            }
        }
    }
}

/* Snackbar styles */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: 90%;
    width: auto;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;

    &.show {
        visibility: visible;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    &.error {
        background-color: #d32f2f;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    .inputpin-container {
        padding: 10px;

        h1 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .pin-display {
            gap: 1.5rem;
            padding: 0;
            background: transparent;
            box-shadow: none;
            border: none;

            .pin-wrapper-user {
                .otp-input-container {
                    gap: 0.5rem;

                    .otp-input {
                        width: 2.5rem;
                        height: 3rem;
                        font-size: 1.25rem;
                    }
                }
            }

            .button-container {
                .btn-iniciar {
                    padding: 0.7rem 1.8rem;
                }
            }
        }
    }

    #snackbar {
        min-width: 220px;
        margin-left: -110px;
        padding: 14px;
    }
}

/* CTA para Professores */
.professor-cta-container {
    max-width: 1000px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

.professor-cta-content {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); */
    border-radius: 20px;
    /* padding: 2.5rem; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid rgba(255, 107, 53, 0.1); */
    text-align: center;
    position: relative;
    /* overflow: hidden; */
}



.professor-cta-header {
    margin-bottom: 2rem;
}

.professor-cta-header h2 {
    color: #FF6B35;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.1);
}

.professor-cta-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.professor-cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;

    /* mobile 768*/
    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
    }
}

.cta-feature {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgb(255, 255, 255);
    border-radius: 12px;
    /* border-left: 4px solid #FF6B35; */
    transition: all 0.3s ease;
    flex-direction: column;
}

.cta-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    background: rgba(255, 107, 53, 0.08);
}

.cta-feature-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.cta-feature-text strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-feature-text p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.professor-cta-actions {
    text-align: center;
}

.btn-professor-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 300px;
    justify-content: center;
}

.btn-professor-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #FF5722 0%, #E65100 100%);
    color: white;
    text-decoration: none;
}

.btn-professor-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-action-icon {
    font-size: 1.2rem;
}

/* Responsividade do CTA */
@media (max-width: 768px) {
    .professor-cta-container {
        margin: 2rem auto 1rem;
        padding: 0;
    }

    .professor-cta-content {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .professor-cta-header h2 {
        font-size: 1.6rem;
    }

    .professor-cta-subtitle {
        font-size: 1rem;
    }



    .cta-feature {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .cta-feature-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: auto;
    }

    .btn-professor-cta {
        padding: 0;
        font-size: 1rem;
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .professor-cta-content {
        padding: 0;
    }

    .professor-cta-header h2 {
        font-size: 1.4rem;
    }

    .btn-professor-cta {
        padding: 8px 16px;
        font-size: 0.95rem;
        min-width: 200px;
    }
}