* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

form {
    width: 100%;
    background-color: #fff;
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009846, #00d4aa);
}

/* Barra de progresso */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #e0e0e0 0%, #e0e0e0 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 2;
}

.progress-bullet {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    border: 3px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.progress-bullet.active {
    background: linear-gradient(135deg, #009846 0%, #00d4aa 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 152, 70, 0.3);
}

.progress-label {
    margin-top: 10px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* Título e subtítulo */
.title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    padding-left: 15px;
    text-align: center;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    padding-left: 15px;
    text-align: center;
}

/* Campo de input geral */
.form-group {
    margin-bottom: 25px;
    padding: 0 15px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.form-group input:focus {
    border-color: #009846;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 152, 70, 0.1);
    transform: translateY(-2px);
}

.form-group input.input-error {
    border-color: #dc3545;
    background-color: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    font-size: 13px;
    color: #dc3545;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠';
    font-size: 14px;
}

/* Ajustes para o campo de telefone */
.iti {
    width: 100%;
}

.iti input, .form-group input {
    width: 100% !important;
    border-radius: 12px;
    border: 2px solid #e1e5e9;
    background-color: #f8f9fa;
    padding-left: 15px;
    height: 55px;
    font-size: 16px;
}

.iti--allow-dropdown .iti__flag-container {
    border-radius: 12px 0 0 12px;
    background-color: #f8f9fa;
}

/* Estilo do botão */
.btn {
    display: block;
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: linear-gradient(135deg, #009846 0%, #00d4aa 100%);
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 30px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 152, 70, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn::after {
    content: "»";
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #007b33 0%, #00b894 100%);
    box-shadow: 0 12px 35px rgba(0, 152, 70, 0.4);
    transform: translateY(-2px);
}

.btn:hover::after {
    transform: translateX(5px);
}

.btn:active {
    transform: translateY(0);
}

/* Contêiner do produto */
#product-container {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    margin-bottom: 30px;
    border: 2px solid #e1e5e9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#product-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#product-container img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    margin-right: 20px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#product-details h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

#product-details p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.4;
}

#product-price {
    font-size: 18px;
    font-weight: 700;
    color: #009846;
    margin-top: 5px;
}

#product-discount {
    font-size: 14px;
    text-decoration: line-through;
    color: #999;
    margin-bottom: 5px;
}

/* Contêiner de segurança */
.security-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    text-align: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e1e5e9;
}

.security-container i {
    font-size: 24px;
    color: #009846;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.security-container p {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Divisor */
.divisor {
    margin: 30px 0;
    border: none;
    border-top: 2px solid #e1e5e9;
    width: 100%;
}

/* Contêiner de imagem adicional (formas de pagamento) */
.-payment-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e1e5e9;
}

.-payment-list p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}

.-payment-list img {
    width: 35px;
    height: 25px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.-payment-list img:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
}

/* Responsividade */
@media (max-width: 768px) {
    form {
        margin: 10px;
        padding: 20px;
        border-radius: 16px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    #product-container {
        padding: 15px;
    }
    
    #product-container img {
        width: 80px;
        height: 80px;
    }
    
    .btn {
        padding: 16px;
        font-size: 16px;
    }
}
