/*
 * Classes customizadas para a tela de pagamento Prime (pagamento_prime.php)
 * Todas as regras abaixo são usadas para separar o CSS do HTML.
 */
.pagamento-prime-bg {
    background-color: #18171c !important;
    min-height: 100vh;
}
.pagamento-prime-main {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagamento-prime-card {
    background: #23222a;
    border-radius: 24px;
    box-shadow: 0 4px 32px #18171c;
    padding: 48px 38px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pagamento-prime-title {
    color: #b197fc;
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 18px;
    text-align: center;
}
.pagamento-prime-desc {
    color: #e0def7;
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 24px;
}
.pagamento-prime-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pagamento-prime-input {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #29283a;
    color: #fff;
    font-size: 1.08rem;
}
.pagamento-prime-row {
    display: flex;
    gap: 12px;
}
.pagamento-prime-input-half {
    flex: 1;
}
.pagamento-prime-input-file {
    padding: 8px;
    border-radius: 10px;
    background: #29283a;
    color: #fff;
}
.pagamento-prime-btn {
    background: #b197fc;
    color: #18171c;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    margin-top: 10px;
    padding: 14px;
    font-size: 1.1rem;
    cursor: pointer;
}
.pagamento-prime-btn:hover {
    background: #9775fa;
    color: #fff;
}
.pagamento-prime-cadastro-info {
    margin-top: 24px;
    color: #b197fc;
    font-size: 1.05rem;
    text-align: left;
    background: #29283a;
    padding: 18px 14px;
    border-radius: 12px;
}
.pagamento-prime-success {
    margin-top: 32px;
    color: #4caf50;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}
/*
 * Classes customizadas para a tela de escolha de tipo de usuário (tipouser.php)
 * Todas as regras abaixo são usadas para separar o CSS do HTML.
 */

.tipouser-container {
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(30,30,60,0.10);
    padding: 32px 24px;
}
.tipouser-form {
    background: none;
    box-shadow: none;
    padding-top: 0;
}
.tipouser-title {
    text-align: center;
    color: #7b2ff2;
    margin-bottom: 8px;
}
.tipouser-desc {
    text-align: center;
    color: #555;
    margin-bottom: 24px;
}
.tipouser-alert {
    margin-bottom: 16px;
}
.tipouser-group {
    margin-bottom: 28px;
}
.tipouser-label {
    font-weight: 600;
    color: #7b2ff2;
}
.tipouser-select {
    font-weight: 600;
    color: #333;
    background: #f7f7fa;
    border: 1.5px solid #7b2ff2;
}
.tipouser-input {
    background: #f7f7fa;
    border: 1.5px solid #7b2ff2;
}
.tipouser-btn {
    margin-top: 18px;
    background: linear-gradient(90deg,#7b2ff2 60%,#f357a8 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}
/*
 * Arquivo: css/login2.css
 * Descrição: Folha de estilos para a página de login e cadastro (`login2.php`).
 * Contém a estilização do formulário, do cartão de crédito visual e dos campos de input,
 * além de regras de responsividade.
 */

.credit-card.minimized {
    min-height: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    opacity: 0;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: all 0.3s;
}
.container-small {
    max-width: 320px !important;
    min-width: 220px;
    padding: 24px 12px;
    transition: max-width 0.3s, padding 0.3s;
}
/* Botão estilizado de voltar */
.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: linear-gradient( #9775fa 100%);
    color: #000000;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(123,47,242,0.10);
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 20px;
}
.back-btn:hover {
    background: linear-gradient(90deg, #7b2ff2 0%, #f357a8 100%);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
}
.back-btn-text {
    font-weight: 600;
    letter-spacing: 1px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1e1c1e;
    background:  #1e1c1e url('https://static.vecteezy.com/system/resources/thumbnails/018/760/496/small/water-drop-texture-for-overlay-png.png');
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  
}

.back-button {
  position: absolute;
  top: 330px;
  left: 750px;
}
  .container-small .payment-form {
            width: 100%; /* Ajusta o formulário para ocupar o espaço sem o cartão */
        }

.back-button a {
  display: flex;
  align-items: center;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.back-button a:hover {
  text-decoration: underline;
}

.back-icon {
  height: 20px;
  margin-right: 8px;
}
.container {
    max-width: 450px;
    width: 100%;
}

/* Estilo do Cartão de Crédito Visual */
.credit-card {
    position: relative;
    transform: translateY(50%);
    border-style: solid;
    border-color: #9775fa;
    border-radius: 17px;
}

.card-front {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    padding: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1e1e1e url('https://st4.depositphotos.com/20547288/26639/i/450/depositphotos_266393752-stock-photo-black-dark-grunge-scratched-background.jpg') center/cover;
    background-color: #9775fa;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-chip {
    width: 50px;
    height: 40px;
    background-color: #ffcc00;
    border-radius: 5px;
    background-image: linear-gradient(45deg, #d4af37, #b48d2d, #d4af37);
}

.card-logo {
    align-self: flex-end;
}

.card-number {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    font-size: 0.7rem;
    color: #ddd;
    margin-bottom: 2px;
}

.detail-value {
    font-weight: 500;
    text-transform: uppercase;
}


/* Estilo do Formulário */
.payment-form {
    background-color: #ffffff;
    padding: 20px;
    padding-top: calc(30% + 20px);
    /* Espaço para o cartão que sobrepõe */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #a12eff;
}

.form-row {
    display: flex;
    gap: 15px;
}

.expiration-date {
    flex: 2;
}

.select-group {
    display: flex;
    gap: 10px;
}

.cvv {
    flex: 1;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #bd2eff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1a58e8;
}

/* Responsividade */
@media (max-width: 480px) {
    body {
        padding: 10px;
        overflow-x: scroll;
        overflow-y: scroll;

    }

    .credit-card {
        /* Reduzir o efeito de sobreposição em telas menores */
        transform: translateY(25%);
    }

    .payment-form {
        padding-top: calc(25% + 20px);
    }

    .card-number {
        font-size: 1.2rem;
    }
}