/* BidBridge — страницы входа и регистрации */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

.auth-page {
   font-family: 'Public Sans', sans-serif;
   background: linear-gradient(180deg, #f0f2f8 0%, #e8ebf5 100%);
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
}

.auth-page__inner {
   width: 100%;
   max-width: 440px;
   text-align: center;
}

.auth-page__logo {
   display: inline-block;
   font-family: 'Public Sans', sans-serif;
   font-weight: 900;
   font-size: 28px;
   line-height: 1.2;
   letter-spacing: 0.02em;
   color: #415598;
   text-decoration: none;
   margin-bottom: 32px;
   transition: opacity 0.2s;
}

.auth-page__logo:hover {
   opacity: 0.85;
}

.auth-card {
   background: #fff;
   box-shadow: 0 4px 24px rgba(47, 43, 61, 0.12);
   border-radius: 12px;
   padding: 40px 36px;
   margin-bottom: 24px;
}

.auth-card__title {
   font-weight: 600;
   font-size: 22px;
   line-height: 1.3;
   color: #444050;
   margin-bottom: 28px;
}

.auth-form .form-group {
   margin-bottom: 20px;
   text-align: left;
}

.auth-form .form-group:last-of-type {
   margin-bottom: 24px;
}

.auth-form label {
   display: block;
   font-weight: 500;
   font-size: 14px;
   line-height: 1.4;
   color: #444050;
   margin-bottom: 8px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
   width: 100%;
   height: 48px;
   padding: 0 16px;
   font-family: 'Public Sans', sans-serif;
   font-size: 16px;
   color: #444050;
   background: #fff;
   border: 1px solid #D1D0D4;
   border-radius: 8px;
   transition: border-color 0.2s;
}

.auth-form input:focus {
   outline: none;
   border-color: #415598;
}

.auth-form input::placeholder {
   color: #ACAAB1;
}

.auth-form .form-check {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 24px;
   text-align: left;
}

.auth-form .form-check input {
   width: 18px;
   height: 18px;
   accent-color: #415598;
   cursor: pointer;
}

.auth-form .form-check label {
   margin-bottom: 0;
   font-weight: 400;
   font-size: 14px;
   color: #6D6B77;
   cursor: pointer;
}

.auth-form .btn-primary {
   width: 100%;
   height: 48px;
   font-family: 'Public Sans', sans-serif;
   font-weight: 500;
   font-size: 16px;
   color: #fff;
   background: #415598;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: opacity 0.2s;
   box-shadow: 0 2px 8px rgba(65, 85, 152, 0.3);
}

.auth-form .btn-primary:hover {
   opacity: 0.92;
}

.auth-form .btn-primary:disabled {
   opacity: 0.6;
   cursor: not-allowed;
}

.auth-form .auth-card__link {
   display: block;
   margin-top: 20px;
   font-size: 14px;
   color: #415598;
   text-decoration: none;
   transition: opacity 0.2s;
}

.auth-form .auth-card__link:hover {
   opacity: 0.85;
   text-decoration: underline;
}

.auth-form .auth-card__divider {
   margin: 24px 0;
   height: 1px;
   background: #E0DEE4;
}

.auth-alert {
   padding: 12px 16px;
   border-radius: 8px;
   font-size: 14px;
   margin-bottom: 20px;
   text-align: left;
}

.auth-alert--success {
   background: #d4edda;
   color: #155724;
}

.auth-alert--error {
   background: #f8d7da;
   color: #721c24;
}

.auth-page__footer {
   font-size: 13px;
   color: #6D6B77;
}

@media (max-width: 480px) {
   .auth-card {
      padding: 28px 24px;
   }
   .auth-card__title {
      font-size: 20px;
      margin-bottom: 24px;
   }
}
