 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
}
 body {
     font-family: 'Google Sans Flex', sans-serif;
     background-color: #f0f0f0;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     flex-direction: column;
}
#loginAreaAndSubscription,
#account-area {
    display: none;
}
 input, button, select {
     font-family: 'Google Sans Flex', sans-serif;
}
.loading {
    width: 170px;
    height: 170px;
    background: url('/assets/load-spinner.gif') center/contain no-repeat;

    /* azul escuro mais claro */
    filter:
        brightness(0)
        saturate(100%)
        invert(20%)
        sepia(65%)
        saturate(2200%)
        hue-rotate(190deg)
        brightness(110%)
        contrast(100%);
}
/* ─── LOGIN AREA ─── */
 .loginArea {
     max-width: 520px;
     width: 95%;
     padding-top: 90px;
     padding-bottom: 90px;
     display: flex;
     align-items: center;
     margin: auto;
     justify-content: center;
     flex-direction: column;
     transition: opacity 0.35s ease, transform 0.35s ease;
}
 .loginArea.hidden {
     display: none;
}
 .loginArea h2 {
     color: rgb(51, 51, 51);
     font-weight: 500;
     width: 420px;
     text-align: center;
     margin-top: 15px;
     line-height: 35px;
}
 .logo img {
     max-width: 250px;
}
 .logos-container {
     display: flex;
     align-items: center;
     justify-content: center;
     margin-top: 30px;
     margin-bottom: 40px;
}
 .logo-item {
     width: 95px;
     height: 95px;
     border-radius: 50%;
     background: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: -7px;
     overflow: hidden;
     position: relative;
}
 .logo-item img {
     width: 120%;
     height: 120%;
     object-fit: cover;
}
 .logo-center {
     width: 110px;
     height: 110px;
     z-index: 9;
}
 .loginContent {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
 @media (max-width: 790px){
     .loginContent{
         width: 95%;
    }
     .registerArea{
         width: 90% !important;
    }
}
 .buttonslogins {
     display: flex;
     gap: 10px;
     align-items: center;
     justify-content: center;
}
 #emailareapoint, #passwordareapoint {
     border: 1px solid rgb(102, 102, 102);
     padding: 15px;
     font-size: large;
     color: rgb(102, 102, 102);
     font-weight: 500;
     border-radius: 10px;
     width: 450px;
     margin-bottom: 30px;
     font-family: 'Google Sans Flex', sans-serif;
     font-style: italic;
}
 #emailareapoint::placeholder, #passwordareapoint::placeholder {
     font-weight: 400;
     color: rgb(102, 102, 102);
}
 .buttonslogins button {
     border: none;
     border-radius: 50px;
     padding: 10px;
     background-color: rgb(0, 115, 255);
     display: flex;
     cursor: pointer;
}
 .buttonslogins button svg {
     width: 40px;
     height: 40px;
     filter: invert(1);
}
 .enteraccountforpassword, .passwordareapoint {
     border: none;
     background-color: rgb(0, 115, 255);
     padding: 15px;
     font-size: large;
     font-weight: 600;
     width: 450px;
     border-radius: 10px;
     color: white;
     cursor: pointer;
     margin-bottom: 40px;
}
 .enteraccountforpassword:hover {
     background-color: rgb(0, 156, 223);
}
 .loginContent label {
     color: rgb(102, 102, 102);
     margin-bottom: 8px;
     margin-right: auto;
     font-size: large;
}
 #forgetPassword {
     margin-right: auto;
     margin-top: -20px;
     margin-bottom: 40px;
     color: rgb(0, 115, 255);
     text-decoration: underline;
     font-size: large;
     font-weight: 600;
     cursor: pointer;
}
 .card {
     margin-top: 60px;
     margin-bottom: 20px;
     padding: 15px 30px;
     border-radius: 10px;
     text-align: left;
     border: 1px solid rgba(102, 102, 102, 0.4);
}
 .card-2 {
     margin-top: 20px;
     padding: 15px 30px;
     border-radius: 10px;
     text-align: left;
     background: rgba(102, 102, 102, 0.107);
}
 .card-2 a {
     font-weight: bold;
     color: rgb(0, 115, 255);
}
 .card h2 {
     margin: 0 0 10px;
     font-size: large;
     text-align: left;
     font-weight: bold;
     line-height: normal;
}
 .card span {
     color: rgb(0, 115, 255);
}
 .card p {
     gap: 10px;
     display: flex;
     align-items: center;
     margin-bottom: 15px;
}
/* ─── REGISTER AREA ─── */
 .registerArea {
     display: none;
     padding-bottom: 90px;
     padding-top: 60px;
     max-width: 520px;
     width: 95%;
     margin: auto;
     flex-direction: column;
     align-items: center;
}
 .registerArea.visible {
     display: flex;
     animation: fadeSlideIn 0.4s ease both;
}
 @keyframes fadeSlideIn {
     from {
         opacity: 0;
         transform: translateY(18px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 .registerArea .logo {
     margin-bottom: 10px;
}
 .registerArea h1 {
     font-size: 1.85rem;
     font-weight: 700;
     color: #1a1a1a;
     text-align: center;
     margin-bottom: 6px;
}
 .registerArea .subtitle {
     color: rgb(102, 102, 102);
     font-size: 1rem;
     text-align: center;
     margin-bottom: 36px;
     line-height: 1.5;
}
 .registerArea .subtitle a {
     color: rgb(0, 115, 255);
     font-weight: 600;
     text-decoration: none;
}
 .registerArea .subtitle a:hover {
     text-decoration: underline;
}
/* ─── FORM FIELDS ─── */
 .field-group {
     width: 100%;
     display: flex;
     flex-direction: column;
     margin-bottom: 22px;
}
 .field-group label {
     font-size: 0.95rem;
     color: rgb(80, 80, 80);
     margin-bottom: 7px;
     font-weight: 500;
}
 .field-group label .req {
     color: rgb(0, 115, 255);
     margin-left: 2px;
}
 .field-group input, .field-group select {
     border: 1.5px solid rgb(200, 200, 200);
     padding: 14px 16px;
     font-size: 1rem;
     color: #222;
     border-radius: 10px;
     width: 100%;
     background: #fff;
     transition: border-color 0.2s, box-shadow 0.2s;
     outline: none;
}
 .field-group input::placeholder {
     color: rgb(180, 180, 180);
     font-style: italic;
}
 .field-group input:focus, .field-group select:focus {
     border-color: rgb(0, 115, 255);
     box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.1);
}
 .field-group input.invalid, .field-group select.invalid {
     border-color: #e53935;
     box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}
 .field-group input.valid {
     border-color: #43a047;
     box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}
 .field-error {
     color: #e53935;
     font-size: 0.82rem;
     margin-top: 5px;
     display: none;
}
 .field-error.visible {
     display: block;
}
/* ─── PASSWORD WRAPPER ─── */
 .password-wrapper {
     position: relative;
}
 .password-wrapper input {
     padding-right: 48px;
}
 .toggle-pw {
     position: absolute;
     right: 14px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     cursor: pointer;
     color: rgb(150, 150, 150);
     display: flex;
     align-items: center;
     padding: 0;
     font-size: 20px;
}
 .toggle-pw:hover {
     color: rgb(0, 115, 255);
}
/* ─── PASSWORD STRENGTH ─── */
 .password-strength-bar {
     display: flex;
     gap: 5px;
     margin-top: 8px;
}
 .strength-segment {
     flex: 1;
     height: 4px;
     border-radius: 4px;
     background: #e0e0e0;
     transition: background 0.3s;
}
 .strength-segment.weak {
     background: #e53935;
}
 .strength-segment.medium {
     background: #fb8c00;
}
 .strength-segment.strong {
     background: #43a047;
}
 .strength-label {
     font-size: 0.78rem;
     margin-top: 5px;
     color: rgb(130, 130, 130);
     height: 14px;
}
/* ─── CAPTCHA WRAPPER ─── */
 .captcha-wrapper {
     display: flex;
     justify-content: center;
     margin-bottom: 24px;
     width: 100%;
}
/* ─── SUBMIT BUTTON ─── */
 .btn-register {
     border: none;
     background-color: rgb(0, 115, 255);
     padding: 16px;
     font-size: 1.05rem;
     font-weight: 700;
     width: 100%;
     border-radius: 10px;
     color: white;
     cursor: pointer;
     transition: background 0.2s, transform 0.1s;
     letter-spacing: 0.01em;
}
 .btn-register:hover {
     background-color: rgb(0, 156, 223);
}
 .btn-register:active {
     transform: scale(0.98);
}
 .btn-register:disabled {
     background-color: rgb(180, 180, 180);
     cursor: not-allowed;
}
/* ─── BACK LINK ─── */
 .back-link {
     display: flex;
     align-items: center;
     gap: 6px;
     color: rgb(0, 115, 255);
     font-weight: 600;
     font-size: 0.95rem;
     cursor: pointer;
     margin-bottom: 30px;
     align-self: flex-start;
     background: none;
     border: none;
     padding: 0;
     text-decoration: none;
}
 .back-link:hover {
     text-decoration: underline;
}
 .back-link span {
     font-size: 20px;
}
/* ─── DIVIDER ─── */
 .form-divider {
     width: 100%;
     height: 1px;
     background: rgba(102, 102, 102, 0.15);
     margin: 10px 0 24px;
}
 .section-title {
     font-size: 0.78rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     color: rgb(150, 150, 150);
     margin-bottom: 16px;
     align-self: flex-start;
}
/* ─── ROW ─── */
 .field-row {
     display: flex;
     gap: 16px;
     width: 100%;
}
 .field-row .field-group {
     flex: 1;
}
/* ─── PRIVACY NOTICE ─── */
 .privacy-notice {
     margin-top: 18px;
     padding: 14px 20px;
     border-radius: 10px;
     background: rgba(102, 102, 102, 0.09);
     font-size: 0.82rem;
     color: rgb(102, 102, 102);
     text-align: center;
     line-height: 1.5;
     width: 100%;
}
 .privacy-notice a {
     font-weight: bold;
     color: rgb(0, 115, 255);
     text-decoration: none;
}
 .privacy-notice a:hover {
     text-decoration: underline;
}
/* ─── RESPONSIVE ─── */
 @media (max-width: 520px) {
     .loginArea h2 {
         width: 95%;
    }
     #emailareapoint, #passwordareapoint, .enteraccountforpassword {
         width: 100%;
    }
     .field-row {
         flex-direction: column;
         gap: 0;
    }
}
