* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 0 auto; /* Centraliza horizontalmente */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente */
}


.panel {
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #10c3cfe2 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.5;
}

.panel-title {
    font-size: 1.5rem;
    color: #041991;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.panel-subtitle {
    font-size: 0.7rem;
    color: #e6faf4;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.input-container {
    margin-bottom: 35px;
    position: relative;
}

.input-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e6faf4;
}

.styled-input {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    color: #084d1a;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.styled-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2), inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    padding: 16px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-primary {
    background: #e6faf4;
    color: white;
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.3);
    text-align: center;
    margin: 0 auto;
}

.btn-primary:hover {
    background: #554fd8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: #e6faf4;
    border: 1px solid #005c40;
    color: #041991;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    color: #554fd8;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(108, 99, 255, 0.3), transparent);
    margin: 30px 0;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .panel {
        padding: 30px 25px;
    }
    
    .logo {
        font-size: 0.7rem;
    }
    
    .panel-title {
        font-size: 1.5rem;
    }
    
    .panel-subtitle {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 14px 25px;
        min-width: 140px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .button-container .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .panel {
        padding: 25px 20px;
    }
    
    .logo {
        font-size: 0.5rem;
    }
    
    .panel-title {
        font-size: 1.5rem;
    }
    
    .panel-subtitle {
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 20px;
    }
    
    .panel {
        padding: 25px;
    }
    
    .logo {
        font-size: 1.0rem;
    }
    
    #pagarBtn {
        flex: 0 0 65%; 
        min-width: 50%;
    }
    
    #voltarBtn {
        flex: 1;
    }
}

.info-text {
    text-align: center;
    color: #ff6584;
    font-size: 0.95rem;
    margin-top: 20px;
    font-style: italic;
}

.icon {
    font-size: 1.2rem;
}

.container-telefon {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.icon-telefon {
    width: 50px;
    height: 50px;
}

.text-input-telefon {
    flex: 1; 
    padding: 8px;
    font-size: 16px;
}

.btn-telefon {
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
}

#loading {
    display: none;
    width: 35px;
    height: 35px;
    border: 4px solid #ccc;
    border-top-color: #0080ff;
    border-radius: 50%;
    animation: girar 0.8s linear infinite;
    margin: 10px auto;
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}
