* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Vazirmatn", sans-serif;
    overflow-x: hidden;
}

.brand-zone {
    position: relative;
}


/*   
  .brand-glow {
    position: absolute;
    width: 100px;
    height: 120px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    background: radial-gradient( ellipse at center, rgba(204, 164, 255, 0.04) 0%, rgba(204,164,255,0.35) 35%, rgba(204,164,255,0.15) 55%, transparent 72% );
    filter: blur(30px);
  }
   */

.brand-logo {
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1;
}

.brand-text {
    text-align: right;
}

.brand-name {
    font-weight: 800;
    font-size: 22px;
    margin: 0;
    line-height: 1;
}

.brand-tagline {
    font-size: 10px;
    color: #888;
    display: block;
    margin-top: 5px;
}


/*--icone--*/


/* .auth-icons {
    background: #dcdcdc37;
  border-radius: 6px;
  } */

.auth-icon {
    position: relative;
    padding: 10px 50px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.auth-icon i {
    font-size: 22px;
}

.auth-icon span {
    position: absolute;
    bottom: 3px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #CCA4FF, transparent);
    opacity: 0.85;
    overflow: visible;
}


/* .auth-icon span:hover::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 34px;
    background: radial-gradient(
      ellipse at bottom center,
      rgba(203, 164, 255, 0.945) 0%,
      rgba(204, 164, 255, 0.18) 35%,
      rgba(204, 164, 255, 0.08) 55%,
      transparent 75%
    );
    filter: blur(10px);
    pointer-events: none;
  } */

.auth-icon.apple i {
    color: #363636;
}

.auth-icon img {
    width: 32px;
    height: 32px;
    display: block;
}

.auth-icon.facebook i {
    color: #1877F2;
}

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.25));
    border-radius: 25%;
}

.auth-divider::before {
    left: 10px;
}

.auth-divider::after {
    right: 10px;
    transform: rotate(180deg);
}

.auth-divider span {
    font-size: 14px;
    color: #666;
    background: #fff;
    position: relative;
    z-index: 1;
}


/*--end-icone*/

.login-card {
    border-radius: 22px;
    margin-top: 30px;
}

.field {
    position: relative;
    margin-bottom: 30px;
}

.field input {
    width: 100%;
    height: 54px;
    border-radius: 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    padding-right: 18px;
    padding-left: 50px;
    font-size: 14px;
    background: transparent;
    transition: all 0.3s ease, box-shadow 0.2s ease;
    color: #606060;
}

.field input:focus {
    outline: none;
    border-color: #CCA4FF !important;
    transform: scale(1.02);
}

.field:focus-within i {
    color: #6e499e;
}

#fild-name input {
    text-align: right !important;
}

.field label {
    position: absolute;
    top: -13px;
    right: 19px;
    font-size: 14px;
    color: #565656;
    background: #fff;
    padding: 1px 8px;
    border-radius: 14px;
    font-weight: 600;
}

.field i {
    position: absolute;
    /* top: 50%; */
    top: 27px;
    left: 16px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #9a9a9a;
}

.field:hover input {
    border-color: rgba(0, 0, 0, 0.18);
}

.main-action {
    position: relative;
    height: 54px;
    border-radius: 18px;
    background: #b377ff;
    color: #fff;
    font-weight: 600;
    border: none;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.main-action::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at bottom, rgba(255, 255, 255, 0.285), transparent 65%);
    opacity: 0;
    transform: translateY(30%);
    transition: all 0.4s ease;
}

.main-action::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 120deg, transparent 30%, rgba(255, 255, 255, 0.092), transparent 70%);
    transition: all 1.9s ease;
}

.main-action:hover {
    transform: translateY(-1px);
}

.main-action:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.main-action:hover::after {
    left: 100%;
}

.auth-switch {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #8a8a8a;
    letter-spacing: 0.1px;
    justify-content: space-between;
    display: flex;
}

.auth-switch span {
    opacity: 0.9;
    font-size: 13px;
}

.auth-link i {
    font-size: 16px;
    position: relative;
    top: 4px;
    right: 2px;
}

.auth-switch .auth-link {
    position: relative;
    font-weight: 600;
    color: #7b45d9;
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 13px;
}

.auth-switch .auth-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 160px;
    height: 2.5px;
    background: linear-gradient( 90deg, transparent, #B377FF, #00000014);
    transform: translateX(-50%) scaleX(0.4);
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 22px;
}

.auth-switch .auth-link:hover::after {
    background: linear-gradient( 90deg, transparent, #9164cc, #e1e1e195);
    width: 190px;
}

.auth-switch .auth-link:hover {
    color: #5e2fbf;
}

.invalid-feedback {
    color: red;
    display: block;
    font-size: 12px;
    text-align: right;
}