/* gstyle.css - Tam ekran sade login/kayıt */



   /* Yeni Modern Tasarım */
    html, body {
      margin: 0;
      padding: 0;
      height: 100vh;
      width: 100vw;
      font-family: 'Roboto Condensed', sans-serif;
      overflow: hidden;
    }

    .container {
    height: 100vh;
    width: 100vw;
    background: url("../images/back3.png") no-repeat center bottom;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    }

    .container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 171, 87, 0.55);
      z-index: 1;
    }

    .content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .logo {
      max-width: 300px;
      margin-bottom: 40px;
      filter: brightness(0) invert(1);
    }

    .form-container {
      background: rgba(255, 255, 255, 0.95);
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      width: 100%;
      max-width: 400px;
      backdrop-filter: blur(10px);
    }

    .form-box h2 {
      margin-bottom: 25px;
      color: #502570;
      font-size: 28px;
      font-weight: bold;
    }

    .form-box input {
      padding: 15px;
      margin-bottom: 15px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 16px;
      width: 100%;
      box-sizing: border-box;
      transition: border-color 0.3s ease;
    }

    .form-box input:focus {
      outline: none;
      border-color: #00ab57;
      box-shadow: 0 0 0 3px rgba(0, 171, 87, 0.1);
    }

    .form-box button {
      background-color: #00aa55;
      color: #fff;
      border: 2px solid #00ab57;
      padding: 15px;
      font-size: 18px;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
      margin-bottom: 20px;
    }

    .form-box button:hover {
      background-color: #00ab57;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 171, 87, 0.3);
    }

    .link-text {
      color: white;
      font-weight: bold;
      cursor: pointer;
      text-align: center;
      font-size: 16px;
      padding: 10px 20px;
      border: 2px solid white;
      border-radius: 8px;
      transition: all 0.3s ease;
      display: inline-block;
      margin-top: 20px;
    }

    .link-text:hover {
      background-color: white;
      color: #00ab57;
    }

    .hidden {
      display: none !important;
    }

    #verify-warning {
      background: rgba(255, 255, 255, 0.9);
      padding: 20px;
      border-radius: 10px;
      margin-top: 20px;
      color: #333;
      text-align: center;
      max-width: 400px;
    }

    #verify-warning a {
      color: #00ab57;
      font-weight: bold;
      text-decoration: underline;
    }

    /* Mobil uyum */
    @media (max-width: 768px) {
      .form-container {
        margin: 20px;
        padding: 30px 25px;
      }

      .logo {
        max-width: 250px;
        margin-bottom: 30px;
      }

      .form-box h2 {
        font-size: 24px;
      }

      .form-box input {
        padding: 12px;
        font-size: 14px;
      }

      .form-box button {
        padding: 12px;
        font-size: 16px;
      }
    }

    @media (max-width: 480px) {
      .form-container {
        margin: 10px;
        padding: 25px 20px;
      }

      .logo {
        max-width: 200px;
      }
    }


    /* gstyle.css dosyasına eklenecek ek stiller */

/* ✅ Form Validation Styles */
.form-box input.error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.form-box input.success {
  border-color: #00ab57 !important;
  box-shadow: 0 0 0 3px rgba(0, 171, 87, 0.1) !important;
}

/* Required field indicator */
.form-box input[required] {
  position: relative;
}

.form-box label {
  color: #502570;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}

.form-box label::after {
  content: ' *';
  color: #e53e3e;
  font-weight: bold;
}

/* Enhanced input styling */
.form-box input {
  transition: all 0.3s ease;
  position: relative;
}

.form-box input:focus {
  transform: translateY(-1px);
}

.form-box input::placeholder {
  color: #999;
  transition: color 0.3s ease;
}

.form-box input:focus::placeholder {
  color: #ccc;
}

/* Phone input specific styling */
#signup-phone {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

/* Button loading state */
.form-box button.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.form-box button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: button-loading 1s linear infinite;
}

@keyframes button-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form validation messages */
.validation-message {
  font-size: 12px;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  display: none;
}

.validation-message.error {
  background: #fee;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.validation-message.success {
  background: #f0fff4;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

/* Enhanced hover effects */
.form-box input:hover {
  border-color: #00ab57;
  box-shadow: 0 2px 8px rgba(0, 171, 87, 0.1);
}

.form-box button:hover {
  box-shadow: 0 8px 25px rgba(0, 171, 87, 0.4);
}

/* Mobile responsiveness for forms */
@media (max-width: 480px) {
  .form-box input {
    padding: 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .form-box button {
    padding: 14px;
    font-size: 16px;
  }
}

/* Accessibility improvements */
.form-box input:focus {
  outline: none;
}

.form-box input:invalid {
  box-shadow: none; /* Remove default browser validation styling */
}

/* Custom validation styling */
.field-valid {
  border-color: #00ab57 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2300ab57' d='m2.3 6.73.8.9 4.58-4.58-.8-.9-.7.7 1.3-1.3.8.9-4.6 4.6z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.field-invalid {
  border-color: #e53e3e !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e53e3e'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4M7.2 7.4 5.8 6 4.4 7.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}