:root {
  --main-color: #fcb700;
  --dark-color: #1a1a1a;
  --prag-color: #777;
  --dark-red: #d01418;
  --border-color: #6666662a;
  --name-item: #0066c0;
  --bg-gradient: linear-gradient(145deg, #fff, #f5f5f5);
}

.sec_form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: radial-gradient(circle at top left, #fff, #f7f7f7);
}

.form-container {
  width: 420px;
  background: var(--bg-gradient);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 40px 35px;
  margin: 60px 0;
  box-sizing: border-box;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.title {
  color: var(--dark-color);
  text-align: center;
  margin: 0 0 35px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--main-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form input {
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  padding: 14px 18px;
  transition: 0.3s ease;
  background-color: #fafafa;
  font-size: 15px;
  color: #333;
}

.form input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 8px rgba(252, 183, 0, 0.3);
  background-color: #fff;
}

.page-link {
  text-align: end;
}

.page-link .page-link-label {
  color: var(--prag-color);
  font-size: 13px;
  transition: 0.3s ease;
}

.page-link .page-link-label:hover {
  color: var(--main-color);
}

.form-btn {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, var(--main-color), #f9a602);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(252, 183, 0, 0.4);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
}

.form-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(252, 183, 0, 0.5);
}

.sign-up-label {
  text-align: center;
  font-size: 13px;
  color: var(--prag-color);
  margin-top: 10px;
}

.sign-up-label .sign-up-link {
  color: var(--main-color);
  font-size: 14px;
  margin-left: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.sign-up-label .sign-up-link:hover {
  color: #000;
}

.buttons-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.buttons-container i {
  font-size: 22px;
}

.apple-login-button,
.google-login-button {
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.apple-login-button {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}

.google-login-button {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.apple-login-button:hover,
.google-login-button:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


@media (max-width:500px) {
    .form-container {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}