    *, *::before, *::after {
      box-sizing: border-box;
    }

    @keyframes modalFadeIn {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }
    @keyframes modalSlideIn {
      0% { transform: translateY(-20px); }
      100% { transform: translateY(0); }
    }

.auth-container::-webkit-scrollbar {
  width: 0;
}

.auth-container {
  scrollbar-width: none; /* Firefox için */
}

.form-message {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.form-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  align-items: flex-start;
}

.remember-me {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.forgot-password {
  font-size: 14px;
  text-decoration: none;
  color: #007bff;
}

			.profile-pill{
			  display:inline-flex;
			  align-items:center;
			  justify-content:center;
			  gap:6px;
			  height:48px;        /* navbar yüksekliği */
			  padding:0 8px;      /* iç boşluk az, taşma olmasın */
			  background:#ba1818;
			  color:#fff;
			  font-size:13px;     /* bir tık küçült, sığsın */
			  text-decoration:none;
			  border-radius:0;
			  overflow:hidden;
			  white-space:nowrap; /* satır kaymasın */
			}

			.profile-pill img{
			  width:28px;         /* resmi biraz küçült */
			  height:28px;
			  border-radius:50%;
			  object-fit:cover;
			}

			.profile-pill span{
			  font-weight:600;
			}
			
			.profile-pill i{
			  font-size:11px;
			}

.fastdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #343a40;
  border: 1px solid #222;
  border-radius: 4px;
  min-width: 180px;
  box-shadow: 0 8px 16px rgb(255 0 0 / 50%);
  z-index: 9999;

  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* Kapalıyken tıklanmasın */
}

/* Açılınca görünür ve aşağı iner */
.fastdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fastdown-list {
  list-style: none;
  margin: 0;
  padding: 0; /* padding sıfırlandı */
}

.fastdown-list li {
  border-bottom: 1px solid #454d55;
  margin: 0;  /* margin sıfırlandı */
  padding: 0; /* padding sıfırlandı */
}

.fastdown-list li:last-child {
  border-bottom: none;
  margin-bottom: 0; /* boşluk varsa sıfırla */
  padding-bottom: 0;
}

.fastdown-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;

  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover ve focus için yumuşak ama belirgin arka plan */
.fastdown-list a:hover,
.fastdown-list a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.fastdown-list a.logout {
  background-color: #dc3545; /* Koyu kırmızı arka plan */
  color: #fff !important;    /* Yazı beyaz */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.fastdown-list a.logout i {
  color: #fff !important;    /* İkon beyaz */
}

.fastdown-list a.logout:hover,
.fastdown-list a.logout:focus {
  background-color: #e5535d; /* Hoverda açık kırmızı */
  color: #fff !important;
  outline: none;
}

/* İkon renkleri geçişle */
.fastdown-list a i {
  color: #fff;
  transition: color 0.3s ease;
}

	.modal-overlay {
	  display: none;
	  position: fixed;
	  top: 0; left: 0; right: 0; bottom: 0;
	  background-color: rgba(0, 0, 0, 0.85); /* biraz karartma */
	  backdrop-filter: blur(6px);
	  z-index: 1000;
	  justify-content: center;    /* Yatay ortala */
	  align-items: center;        /* Dikey ortala */
	  animation: modalFadeIn 0.25s ease-out forwards;
	  will-change: opacity;
	}

	.auth-container {
	  font-family: system-ui, sans-serif;
	  width: 100%;
	  max-width: 400px;
	  max-height: 80vh;       /* Yüksekliği sınırla */
	  background: #343a40;
	  color: white;
	  border-radius: 10px;
	  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
	  overflow-y: auto;       /* Taşarsa kaydır */
	  animation: modalSlideIn 0.3s ease-out forwards;
	  will-change: transform;
	  margin: 0 auto;         /* Ortalamada kalması için */
	}

    .close-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      font-size: 28px;
      color: rgba(255, 255, 255, 0.8);
      cursor: pointer;
      transition: transform 0.2s, color 0.2s;
      z-index: 1001;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    .close-btn:hover {
      color: white;
      transform: scale(1.1);
    }

    .auth-tabs {
      display: flex;
      background-color: #212529;
    }

    .auth-tab {
      flex: 1;
      padding: 16px 0;
      text-align: center;
      font-weight: 600;
      color: #ccc;
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s;
      user-select: none;
      background-color: #343a40;
      position: relative;
    }

    .auth-tab i {
      margin-right: 8px;
    }

    .auth-tab.active {
      background-color: #ba1818;
      color: white;
    }

    .auth-content {
      padding: 30px;
    }

    .auth-form {
      display: none;
    }

    .auth-form.active {
      display: block;
      animation: modalFadeIn 0.2s ease-out forwards;
    }

    .fast-form {
      margin-bottom: 20px;
    }

    .fast-form label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: white;
      font-size: 14px;
      text-align: left;
    }

    .fast-form input {
      width: 100%;
      max-width: 100%;
      padding: 12px 15px;
      background-color: #495057;
      border: 1px solid #666;
      border-radius: 6px;
      font-size: 14px;
      color: white;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .fast-form input:focus {
      outline: none;
      border-color: #ba1818;
      box-shadow: 0 0 0 2px rgba(186, 24, 24, 0.4);
    }

.fast-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  background-color: #495057;
  border: 1px solid #666;
  border-radius: 6px;
  font-size: 14px;
  color: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ccc' d='M70 95L35 55h70z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

.fast-form select:focus {
  outline: none;
  border-color: #ba1818;
  box-shadow: 0 0 0 2px rgba(186, 24, 24, 0.4);
}

.fast-form input[type="radio"] {
  accent-color: #ba1818;
}

input[type="date"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #495057;
  color: white;
  font-size: 14px;
}

input[type="date"]::placeholder {
  color: #ccc;
}

.custom-auth-btn {
  width: 125px;
  height: 36px;
  background-color: #ba1818;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.custom-auth-btn:hover {
  background-color: #a31111; /* Daha koyu ton hover için */
}

.logo-fixed-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.required-star {
  color: red;
  font-weight: bold;
  font-size: 14px;
}

    .form-note {
      color: #ced4da;
      font-size: 12px;
      margin-top: 5px;
      font-style: italic;
      text-align: left;
    }

    .form-error {
      color: #ff6b6b;
      font-size: 12px;
      margin-top: 5px;
      text-align: left;
    }
        
    .forgot-password {
        text-align: right;
        margin-bottom: 15px;
    }
        
	.forgot-password a {
		color: white;
		text-decoration: none;
		font-size: 14px;
		font-weight: 500;
		transition: color 0.3s ease;
	}

	.forgot-password a:hover {
	  color: #ba1818;
	  font-weight: 500;
          text-decoration: none;
	}

    .submit-btn {
      width: 100%;
      padding: 14px;
      background-color: #ba1818;
      color: white;
      border: 2px solid #ba1818;
      border-radius: 6px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s, transform 0.1s;
      margin-top: 10px;
    }

    .submit-btn:hover {
      background-color: white;
      color: black;
    }

    .submit-btn:active {
      transform: scale(0.98);
    }
	
	.social-login {
		text-align: center;
		padding-top: 15px;
	}

	.social-login p {
		color: white;
		margin-bottom: 20px;
		font-weight: 500;
	}

	.social-icons {
	  display: flex;
	  justify-content: center;
	  gap: 15px;
	}

	.social-icon {
	  width: 40px;
	  height: 40px;
	  border-radius: 50%;
	  background-color: #f0f0f0;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  cursor: pointer;
	  color: white;
	  font-size: 18px;
	  transition: background-color 0.3s ease, color 0.3s ease;
	}

	/* Facebook */
	.social-icon.facebook {
	  background-color: #3b5998;
	}
	.social-icon.facebook:hover {
	  background-color: white;
	  color: #3b5998;
	}

	/* Google */
	.social-icon.google {
	  background-color: #db4437;
	}
	.social-icon.google:hover {
	  background-color: white;
	  color: #db4437;
	}

	/* Discord */
	.social-icon.discord {
	  background-color: #5865F2;
	}
	.social-icon.discord:hover {
	  background-color: white;
	  color: #5865F2;
	}

    @media (max-width: 480px) {
      .auth-container {
        margin: 5vh auto;
        width: 90%;
        max-width: none;
      }

      .auth-content {
        padding: 20px;
      }

      .auth-tab {
        padding: 14px 0;
        font-size: 15px;
      }
    }