/* General body and container styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #000;
}
.logo img {
    width: 130px; /* Adjust this value */
    height: 130px; /* Adjust this value */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}
.page-auth {
    background: linear-gradient(180deg, #E6EBF7 0%, #DAE0EE 100%);
    color: #27374D; /* Dark blue text */
}

.registration-container {
    width: 100%;
    max-width: 720px; /* mais largo para não ficar achatado */
    padding: 28px 24px 40px;
    text-align: center;
}

/* Heading styling */
.registration-container h1 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: 0.4px;
}

/* Card do formulário */
.registration-container form {
    position: relative;
    background: #ffffff;
    padding: 28px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(17,24,39,0.06);
}
.registration-container form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
}

/* Form group and input styling */
.form-group {
    margin-bottom: 28px;
    text-align: left; /* Align labels to the left */
}

.form-group label {
    display: block; /* Make labels a block element for spacing */
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 18px 16px; /* inputs mais altos */
    border: none;
    border-radius: 10px;
    background-color: #fff; /* White background for inputs */
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35), 0 6px 18px rgba(16,185,129,0.18);
}

::placeholder { color: #94a3b8; opacity: 1; }

/* Button styling */
.submit-button {
    width: 100%;
    max-width: 360px;
    padding: 16px;
    border: none;
    border-radius: 32px;
    background: linear-gradient(90deg, #10b981 0%, #059669 60%, #0e9f6e 100%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 36px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 22px rgba(16,185,129,0.25);
    transform: translateY(-1px);
}

.alert {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: #ffeaea;
    color: #a94442;
    border: 1px solid #f5c6cb;
}

/* Botão de voltar */
.back-button-container {
    text-align: left;
    margin-bottom: 24px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.8);
    color: #27374D;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(17,24,39,0.08);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
  .registration-container { padding: 20px 16px 28px; }
  .registration-container h1 { font-size: 36px; }
  .form-group label { font-size: 18px; }
  .form-group input { font-size: 16px; padding: 16px 14px; }
}

.back-button:hover {
    background: #eef2ff;
    color: #27374D;
    transform: translateX(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.back-button i {
    font-size: 12px;
}