/**
 * Password Reset Page Styles - Figma Design Implementation
 * Based on exported Figma design for password reset page
 * 
 * @package App
 * @version 1.0.0
 */

/* Page Container - Figma: .authorizationForgotP */
.authorizationForgotP {
  position: relative;
  background: #ffffff;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Container - Figma: .bG */
.bG {
  display: flex;
  position: absolute;
  top: 0;
  left: -374px;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 625px 298px 384px;
  width: 2429px;
  height: 1024px;
  background-image: url('../../images/auth/auth-background-pattern-reset.svg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Header Component - Figma: .authorizationHead */
.authorizationHead {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  border-radius: 34px;
  background: var(--White-White---100, #ffffff);
  padding: 8px 24px;
  min-width: 1420px;
}

/* Header Logo - Figma: .n373 */
.authorizationHead .n373 {
  flex-shrink: 0;
  width: 152px;
  height: 46px;
  object-fit: contain;
}

/* Phone Support Section - Figma: .phone */
.authorizationHead .phone {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
}

.authorizationHead .phone .text {
  flex-shrink: 0;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--Black-Black---50, #1a1b3080);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 14px;
  margin: 0;
}

.authorizationHead .phone .a84952550607 {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Black-Black---100, #1a1b30);
  font-family: var(--auth-font-family-primary, "Halvar Breitschrift", sans-serif);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

/* Content Wrapper - Figma: .contentWrap */
.contentWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  margin: 228px 510px 0px;
  row-gap: 8px;
}

/* Back Button - Figma: .button */
.contentWrap .button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  column-gap: 8px;
  margin-right: 288px;
  border-radius: 41px;
  background: var(--White-White---100, #ffffff);
  padding: 12px 16px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contentWrap .button:hover {
  background: #f8f9ff;
  transform: translateY(-1px);
}

.contentWrap .button .iconLCirceArrowLeft {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.contentWrap .button .text2 {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Black-Black---100, #1a1b30);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* Main Content Card - Figma: .content */
.contentWrap .content {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 34px;
  background: var(--White-White---100, #ffffff);
  padding: 40px;
  overflow: hidden;
  row-gap: 24px;
}

/* Title - Figma: .a */
.contentWrap .content .a {
  flex-shrink: 0;
  align-self: stretch;
  width: 320px;
  line-height: 29px;
  letter-spacing: 0;
  color: var(--Black-Black---100, #1a1b30);
  font-family: var(--auth-font-family-primary, "Halvar Breitschrift", sans-serif);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

/* Form Container - Figma: .form */
.contentWrap .content .form {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  row-gap: 16px;
}

/* Input Field - Figma: .input */
.contentWrap .content .form .input {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  row-gap: 4px;
}

/* Input Label - Figma: .text3 */
.contentWrap .content .form .input .text3 {
  display: -webkit-box;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--Black-Black---100, #1a1b30);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 14px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin: 0;
}

/* Input Placeholder Wrapper - Figma: .placeholder */
.contentWrap .content .form .input .placeholder {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  border: 1px solid var(--Off-White-Off-White---2, #e5e8ff);
  border-radius: 28px;
  background: var(--White-White---100, #ffffff);
  padding: 15px 15px 15px 23px;
  transition: border-color 0.3s ease;
}

.contentWrap .content .form .input .placeholder:focus-within {
  border-color: var(--auth-primary, #b45a06);
}

/* Input Field Text - Figma: .text4 */
.contentWrap .content .form .input .placeholder .text4 {
  display: -webkit-box;
  flex-grow: 1;
  overflow: hidden;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Black-Black---50, #1a1b3080);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 16px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  margin: 0;
}

.contentWrap .content .form .input .placeholder .text4:focus {
  color: var(--Black-Black---100, #1a1b30);
}

.contentWrap .content .form .input .placeholder .text4::placeholder {
  color: var(--Black-Black---50, #1a1b3080);
}

/* Primary Button - Figma: .button2 */
.contentWrap .content .form .button2 {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  column-gap: 8px;
  border-radius: 41px;
  background: var(--Accident-Accident---100-default, #b45a06);
  padding: 12px 16px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contentWrap .content .form .button2:hover {
  background: #9a4b05;
  transform: translateY(-1px);
}

.contentWrap .content .form .button2:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
}

.contentWrap .content .form .button2 .text5 {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--White-White---100, #ffffff);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* Secondary Button - Figma: .button3 */
.contentWrap .content .form .button3 {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  column-gap: 8px;
  border-radius: 41px;
  background: var(--Off-White-Off-White---2, #e5e8ff);
  padding: 12px 16px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contentWrap .content .form .button3:hover {
  background: #d4d7f5;
  transform: translateY(-1px);
}

.contentWrap .content .form .button3 .text2 {
  flex-shrink: 0;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Black-Black---100, #1a1b30);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* Footer - Figma: .authorizationFooter */
.authorizationFooter {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100%;
  height: 108px;
  z-index: 2;
}

.authorizationFooter .copyRight {
  flex-shrink: 0;
  width: 442px;
  text-align: center;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--White-White---100, #ffffff);
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 14px;
  margin: 0;
}

/* Loading States */
.contentWrap .content .form .button2.loading {
  position: relative;
}

.contentWrap .content .form .button2.loading .text5 {
  opacity: 0.7;
}

.contentWrap .content .form .button2.loading::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Message Styles Integration */
.auth-messages {
  width: 100%;
  margin-bottom: 16px;
}

.auth-message {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 28px;
  margin-bottom: 8px;
  font-family: var(--auth-font-family-secondary, "Gilroy", sans-serif);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.auth-message--error {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.auth-message--success {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.auth-message--warning {
  background: #fffbeb;
  color: #d97706;
  border-color: #fed7aa;
}

.auth-message--info {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

/* Responsive Design */
@media (max-width: 1440px) {
  .bG {
    left: 0;
    width: 100%;
    padding: 20px;
  }
  
  .authorizationHead {
    min-width: auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .contentWrap {
    margin: 100px auto 0;
    max-width: 400px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .bG {
    padding: 16px;
  }
  
  .authorizationHead {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 16px;
  }
  
  .authorizationHead .phone {
    align-items: center;
  }
  
  .contentWrap {
    margin: 60px auto 0;
    padding: 0 16px;
  }
  
  .contentWrap .content {
    padding: 24px;
  }
  
  .contentWrap .content .a {
    width: auto;
    font-size: 20px;
    line-height: 24px;
  }
  
  .authorizationFooter {
    padding: 16px;
    height: auto;
  }
  
  .authorizationFooter .copyRight {
    width: auto;
    max-width: 90%;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .authorizationHead .n373 {
    width: 120px;
    height: 36px;
  }
  
  .authorizationHead .phone .a84952550607 {
    font-size: 18px;
  }
  
  .contentWrap .content {
    padding: 20px;
    border-radius: 24px;
  }
  
  .contentWrap .button {
    margin-right: 0;
    border-radius: 34px;
  }
  
  .contentWrap .content .form .input .placeholder {
    padding: 12px 16px 12px 20px;
  }
  
  .contentWrap .content .form .button2,
  .contentWrap .content .form .button3 {
    padding: 14px 20px;
  }
}