/* ===== ÜYE OL BUTONU VE MODAL ===== */

/* Navbar Üye Ol Butonu */
.user-button-register {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    margin-left: 8px;
    position: relative;
}

.user-button-register:hover,
.user-button-register:focus {
    background: #e8e8e8;
    box-shadow: 0 0 0 3px rgba(187, 187, 187, 0.4);
}

.user-button-register i {
    font-size: 12px;
    color: #000;
    pointer-events: none;
}

.user-button-register[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.91em;
    opacity: 0.95;
    pointer-events: none;
    white-space: nowrap;
    z-index: 6000;
}

/* Modal Overlay */
.modal-register-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.82);
  justify-content: center;
  align-items: center;
}

.modal-register-container {
  background: #181818;
  color: #fff;
  width: 440px;
  max-width: 92vw;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: scaleInRegister 0.25s ease;
  position: relative;
}

.modal-register-header {
  display: flex;
  align-items: center;
  padding: 22px 25px 10px 25px;
  gap: 10px;
  border-bottom: 1px solid #232323;
}

.modal-register-icon {
  font-size: 1.6rem;
  color: #8bd46e;
}

.modal-register-title {
  font-size: 1.28rem;
  letter-spacing: 0.5px;
  font-weight: 800;
  flex: 1;
}

.modal-register-close {
  font-size: 1.62rem;
  color: #aaa;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-register-close:hover {
  color: #fff;
}

.modal-register-body {
  padding: 20px 28px 14px 28px;
}

.modal-register-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #232323;
  color: #eee;
  font-weight: 700;
  border-radius: 9px;
  padding: 10px 0;
  margin-bottom: 14px;
  border: none;
  font-size: 1rem;
  gap: 9px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-register-google-btn:hover {
  background: #161616;
}

.modal-register-sep-bar {
  text-align: center;
  color: #444;
  margin: 15px 0 12px 0;
  position: relative;
  font-size: 0.9rem;
}

.modal-register-sep-bar:before,
.modal-register-sep-bar:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #232323;
}

.modal-register-sep-bar:before {
  left: 0;
}

.modal-register-sep-bar:after {
  right: 0;
}

.modal-register-form-group {
  margin-bottom: 12px;
}

.modal-register-form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.99rem;
  color: #dadada;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.modal-register-input-wrapper {
  position: relative;
}

.modal-register-form-input {
  width: 100%;
  padding: 10px 45px 10px 37px;
  background: #232323;
  border: 1.4px solid #292929;
  border-radius: 7px;
  font-size: 1.04rem;
  color: #ebebeb;
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
}

.modal-register-form-input:focus {
  border: 1.4px solid #8bd46e;
}

.modal-register-input-icon {
  position: absolute;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
  color: #6fc485;
  font-size: 1.11rem;
  pointer-events: none;
}

.modal-register-input-eye {
  position: absolute;
  right: 11px;
  top: 50%;
  color: #aaa;
  background: none;
  border: none;
  font-size: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.modal-register-input-eye:hover {
  color: #fff;
}

.modal-register-checkbox-row {
  display: flex;
  align-items: center;
  font-size: 0.94rem;
  margin-bottom: 16px;
  margin-top: 5px;
  gap: 8px;
}

.modal-register-checkbox-row input[type="checkbox"] {
  accent-color: #67cf47;
  width: 17px;
  height: 17px;
}

.modal-register-checkbox-row a {
  color: #40dcae;
  text-decoration: underline;
  font-size: 0.97em;
}

.modal-register-checkbox-row a:hover {
  color: #15a389;
}

.modal-register-submit-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #67cf47;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 13px 0;
  font-size: 1.12rem;
  margin-top: 7px;
  cursor: pointer;
  transition: background 0.18s;
}

.modal-register-submit-btn i {
  margin-right: 7px;
}

.modal-register-submit-btn:hover {
  background: #459f2a;
}

.modal-register-bottom-text {
  color: #d7d7d7;
  text-align: center;
  font-size: 0.97rem;
  margin-top: 23px;
  margin-bottom: 3px;
}

.modal-register-bottom-text a {
  color: #4edd6f;
  text-decoration: underline;
}

.modal-register-bottom-text a:hover {
  color: #1aaf35;
}

@keyframes scaleInRegister {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
