/* Estilos específicos para a tela de Agendamento Face */

.btn-capturar {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-capturar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-capturar:hover::before {
    left: 100%;
}

.btn-capturar:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-capturar:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-capturar:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-capturar:disabled::before {
    display: none;
}

.captura-status {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captura-status.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.captura-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.captura-status.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.accordion-validado {
    border: 3px solid #145A32 !important;
    box-shadow: 0 0 0 2px #145A3233;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 2px #145A3233;
    }
    50% {
        box-shadow: 0 0 0 4px #145A3266;
    }
    100% {
        box-shadow: 0 0 0 2px #145A3233;
    }
}

/* Melhorias no layout geral */
.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #495057;
}

/* Estilo para o botão de agendar */
#btnAgendar {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#btnAgendar:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

#btnAgendar:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 768px) {
    .btn-capturar {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .captura-status {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    #btnAgendar {
        padding: 12px 30px;
        font-size: 16px;
    }
} 