/* ======================================================
   Emlak-Bazari.Com — Stil Kodlari
   Muellif: Vuqar Familoglu
   ====================================================== */

/* ===============================
   🔹 ESAS CLASS-LAR
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9FAFB;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    a:hover {
        color: #8AA624;
    }

ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
}

ul li a:hover {
  color: #8AA624;
  text-decoration: underline;
}

li a:hover {
  color: #8AA624 !important;
}
  
h1, h2, h3, h4, h5, h6 {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 18px;
    font-style: normal;
}

p {
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body.dark-mode a {
  color: #d2d2d2;
}
body.dark-mode a:hover {
  color: #8AA624;
}

body.dark-mode p,
body.dark-mode label,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #e4e4e4;
}

body.dark-mode .listing-card,
body.dark-mode .tool-card,
body.dark-mode .auth-card,
body.dark-mode .price-card,
body.dark-mode .property-info,
body.dark-mode .map-section,
body.dark-mode .my-listings,
body.dark-mode .favourites,
body.dark-mode .agency-info,
body.dark-mode .filter-content,
body.dark-mode .modal-content {
  background: #2b2b2b !important;
  color: #eaeaea !important;
  border-color: #3a3a3a !important;
}

/* ===============================
   🔹 ESAS STRUKTUR
   =============================== */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

/* ===============================
   🌙 QARANLIQ MOD
   =============================== */
   
body.dark-mode { transition: none; }

main, .container, .content-wrapper {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #1A1A1A; 
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode section,
body.dark-mode .content-wrapper,
body.dark-mode .container {
    background-color: #1C1C1C;
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===============================
   🔹 SECTION DIVIDER
   =============================== */

.divider {
  width: 100%;
  height: 1px;
  background-color: #fafafa; 
  margin: 30px 0;         
  border: none;
  transition: background-color 0.3s ease;
}

body.dark-mode .divider {
  background-color: #1C1C1C;
}

/* ===============================
   🔹 CONTAINER
   =============================== */
   
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent; 
}

body.dark-mode .container {
    background-color: #1E1E1E; 
    color: #EAEAEA;            
    border: 1px solid #2C2C2C; 
}

/* ===============================
   🔹 NAVBAR
   =============================== */
   
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.navbar-logo {
    display: flex;
    align-items: center;
    color: #8AA624;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-dark {
  display: none !important;
}

body.dark-mode .logo-light {
  display: none !important;
}

body.dark-mode .logo-dark {
  display: inline !important;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .nav-links a {
        text-decoration: none;
        color: #444;
        font-weight: 500;
        transition: 0.2s;
    }

        .nav-links a:hover {
            color: #8AA624;
        }
        
        .nav-links a.active {
    color:#8AA624;
    border-bottom:2px solid #8AA624;
    font-weight:500;
  }

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-link {
    color: #444;
    text-decoration: none;
    transition: 0.2s;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .icon-link:hover {
        color: #8AA624;
    }

    .icon-link .material-icons {
        font-size: 22px;
    }

body.dark-mode .navbar {
    background: #1C1C1C; 
    border-bottom: 1px solid #2A2A2A;
}

body.dark-mode .nav-container {
    background: transparent;
}

body.dark-mode .navbar-logo {
    color: #A5D63F; 
}

body.dark-mode .nav-links a {
    color: #EAEAEA; 
}

body.dark-mode .nav-links a:hover {
    color: #B5E144; 
}

body.dark-mode .nav-links a.active {
    color: #A5D63F;
    border-bottom: 2px solid #A5D63F;
}

body.dark-mode .icon-link {
    color: #E0E0E0;
}

body.dark-mode .icon-link:hover {
    color: #B5E144;
}

body.dark-mode .icon-link .material-icons {
    color: #EAEAEA;
    transition: 0.2s;
}

body.dark-mode .icon-link:hover .material-icons {
    color: #B5E144;
}

.navbar, 
.navbar-logo, 
.nav-links a, 
.icon-link, 
.material-icons {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.register-btn {
  background-color: #8AA624;
  color: #fff !important;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.register-btn a {
  color: #fff !important;
  text-decoration: none;
}

.register-btn:hover {
  background-color: #9ec834;
  color: #fff !important;
  text-decoration: none;
}
.register-btn:hover a {
  color: #fff !important;
  text-decoration: none;
}

.register-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .register-btn {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 10px;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #A5D63F, #8AA624);
    color: #fff !important;
    text-align: center;
    box-shadow: none;
    transform: none;
  }

  .register-btn:hover,
  .register-btn:active {
    background: linear-gradient(135deg, #A5D63F, #8AA624);
    color: #fff !important;
    transform: none;
    box-shadow: none;
  }

  body.dark-mode .register-btn {
    background: linear-gradient(135deg, #A5D63F, #91B133);
    color: #fff !important;
  }
  
  body.dark-mode .register-btn a {
    color: #fff !important;
  }
}

body.dark-mode .register-btn {
  background-color: #a3c742;
  color: #fff !important;
}
body.dark-mode .register-btn:hover {
  background-color: #b7da55;
  color: #fff !important;
}
body.dark-mode .register-btn:active {
  background-color: #91b133;
  transform: translateY(0);
}

body.dark-mode .register-btn a {
  color: #fff !important;
}

.logout-btn {
  background-color: #e74c3c; 
  color: #fff !important;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.logout-btn:hover {
  background-color: #ff5f4d;
  transform: translateY(-2px);
}

.logout-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .logout-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-radius: 10px;
    letter-spacing: 0.6px;
  }

  .logout-btn:hover {
    transform: none;
  }

  .logout-btn:active {
    background-color: #c0392b;
  }
}

body.dark-mode .logout-btn {
  background-color: #c0392b; 
  color: #f1f1f1 !important;
}

body.dark-mode .logout-btn:hover {
  background-color: #e74c3c; 
  color: #fff !important;
  transform: translateY(-2px);
}

body.dark-mode .logout-btn:active {
  background-color: #a93226;
  transform: translateY(0);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: #444;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-links .logout-btn {
  background: #8AA624;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links .logout-btn:hover {
  background: #7a9420;
}

body.dark-mode .menu-toggle {
    color: #EAEAEA; 
}

body.dark-mode .menu-toggle:hover {
    color: #A5D63F; 
}

body.dark-mode .nav-links .logout-btn {
  background: #A5D63F; 
  color: #1a1a1a !important;
  transition: all 0.3s ease;
}

body.dark-mode .nav-links .logout-btn:hover {
  background: #B7E04A; 
  color: #000 !important;
  transform: translateY(-1px);
}

body.dark-mode .nav-links .logout-btn:active {
  transform: translateY(0);
}

/* ===============================
   🔹 MOBİL MENYU
   =============================== */
   
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -260px;
        width: 240px;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 9999;
    }

        .nav-links.show {
            right: 0;
        }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

        .mobile-overlay.show {
            display: block;
            opacity: 1;
        }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 26px;
        color: #333;
        cursor: pointer;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        color: #333;
        font-size: 16px;
    }

    .navbar-icons {
        display: none; 
    }
}

@media (max-width: 768px) {
  body.dark-mode .nav-links {
    background: #1C1C1C; 
  }

  body.dark-mode .nav-links a {
    color: #EAEAEA; 
  }

  body.dark-mode .nav-links a:hover {
    color: #A5D63F;
  }

  body.dark-mode .nav-links a.active {
    color: #A5D63F;
    border-bottom: 2px solid #A5D63F;
  }

  body.dark-mode .nav-links li {
    border-bottom: 1px solid #2A2A2A;
  }

  body.dark-mode .close-menu {
    color: #EAEAEA;
  }

  body.dark-mode .close-menu:hover {
    color: #A5D63F;
  }

  body.dark-mode .mobile-overlay {
    background: rgba(0, 0, 0, 0.7); 
  }
}

/* ===============================
   🔹 BUTTONLAR
   =============================== */
   
.mdc-button--raised {
    background-color: #8AA624 !important;
    color: white !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
    padding: 8px 18px !important;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

    .mdc-button--raised:hover {
        background-color: #7a9620 !important;
    }

.mdc-button--outlined {
    border-color: #8AA624 !important;
    color: #8AA624 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.3px;
    padding: 8px 18px !important;
}

    .mdc-button--outlined:hover {
        background-color: rgba(138, 166, 36, 0.05) !important;
    }

body.dark-mode .mdc-button--raised {
  background-color: #A5D63F !important; 
  color: #1A1A1A !important; 
  transition: all 0.3s ease;
}

body.dark-mode .mdc-button--raised:hover {
  background-color: #B7E04A !important; 
  color: #000 !important;
}

body.dark-mode .mdc-button--outlined {
  border-color: #A5D63F !important;
  color: #A5D63F !important;
  background-color: transparent !important;
  transition: all 0.3s ease;
}

body.dark-mode .mdc-button--outlined:hover {
  background-color: rgba(165, 214, 63, 0.12) !important; 
  color: #C8F05A !important;
  border-color: #C8F05A !important;
}

.mdc-button--raised,
.mdc-button--outlined {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===============================
   🔹 INPUT SAHELERI
   =============================== */
   
.mdc-text-field {
    width: 100%;
    margin-bottom: 20px;
}

.mdc-text-field--filled:not(.mdc-text-field--disabled) {
    background-color: #fff;
    border-radius: 8px;
}

.mdc-text-field__input {
    padding: 10px;
}

/* ===============================
   🔹 REGISTER FORMU
   =============================== */
   
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(120deg, #f5f7f2, #ebf0e4);
    transition: background 0.3s ease;
}

.auth-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    width: 800px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.auth-header span.material-icons {
    background: #eef3e0;
    border-radius: 50%;
    padding: 12px;
    color: #8AA624;
    font-size: 34px;
    margin-bottom: 10px;
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 25px;
}

.form-grid input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    font-family: "Sawarabi Gothic", sans-serif;
    transition: 0.3s;
}

.form-grid input:focus {
    border-color: #8AA624;
    background: #fff;
    outline: none;
}

.form-grid input::placeholder {
    color: #888;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 15px 0 25px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: 0.3s;
}

.radio-group input[type="radio"] {
    accent-color: #8AA624;
    transform: scale(1.15);
}

button.mdc-button--raised.full {
    background-color: #8AA624;
    color: #fff;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: "Sawarabi Gothic", sans-serif;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

button.mdc-button--raised.full:hover {
    background-color: #7a9524;
}

button.mdc-button--outlined.full {
    width: 100%;
    margin-top: 12px;
    border: 2px solid #8AA624;
    color: #8AA624;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-family: "Sawarabi Gothic", sans-serif;
    cursor: pointer;
    padding: 12px;
    transition: 0.3s;
}

button.mdc-button--outlined.full:hover {
    background: #8AA624;
    color: #fff;
}

/* ===============================
   REGISTER FORM DARK MOD
   =============================== */
   
body.dark-mode {
    background-color: #0E0E0E;
    color: #EAEAEA;
}

body.dark-mode .auth-wrapper {
    background: radial-gradient(circle at center, #0a0a0a, #161616);
}

body.dark-mode .auth-header span.material-icons {
    background: rgba(165, 214, 63, 0.12);
    color: #A5D63F;
}

body.dark-mode .auth-header h2 {
    color: #F2F2F2;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-grid input {
    background-color: #121212;
    border: 1.5px solid #333;
    color: #EAEAEA;
}

body.dark-mode input,
body.dark-mode .input-with-icon,
body.dark-mode .input-with-icon:hover,
body.dark-mode .input-with-icon:focus-within,
body.dark-mode input:focus {
  border: 1px solid #121212 !important;
  background-color: #121212 !important;
  color: #EAEAEA !important;
  box-shadow: none !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder,
body.dark-mode .form-grid input::placeholder {
    color: #777;
}

body.dark-mode .radio-group label {
    color: #EAEAEA;
}
body.dark-mode .radio-group input[type="radio"] {
    accent-color: #A5D63F;
}

body.dark-mode button.mdc-button--raised.full {
    background-color: #A5D63F;
    color: #1A1A1A;
}
body.dark-mode button.mdc-button--raised.full:hover {
    background-color: #B7E04A;
}

body.dark-mode button.mdc-button--outlined.full {
    border-color: #A5D63F;
    color: #A5D63F;
}
body.dark-mode button.mdc-button--outlined.full:hover {
    background: #A5D63F;
    color: #000;
}

input, textarea, select, .auth-card, button {
    transition: background-color 0.3s ease, color 0.3s ease,
                border-color 0.3s ease;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   🔹 LOGIN 
   =============================== */
   
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(120deg, #f5f7f2, #ebf0e4);
  transition: background 0.3s ease;
}

.login-card {
  background: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  width: 420px;
  text-align: center;
  transition: 0.3s ease;
}

.login-card:hover {
  transform: translateY(-3px);
}

/* Header */
.login-card .auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.login-card .auth-header span.material-icons {
  background: #eef3e0;
  border-radius: 50%;
  padding: 14px;
  color: #8AA624;
  font-size: 36px;
  margin-bottom: 10px;
}

.login-card .auth-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-bottom: 10px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  padding: 10px 14px;
  transition: 0.3s;
}

.input-with-icon:hover {
  border-color: #8AA624;
}

.input-with-icon span.material-icons {
  color: #8AA624;
  margin-right: 10px;
  font-size: 22px;
}

.input-with-icon input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  color: #333;
  font-family: "Sawarabi Gothic", sans-serif;
}

.input-with-icon input::placeholder {
  color: #888;
}

.password-field {
  position: relative;
}

.password-field .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
  transition: 0.3s;
}

.password-field .toggle-password:hover {
  color: #8AA624;
}

button.mdc-button--raised.full {
  background-color: #8AA624;
  color: #fff;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 10px; 
  transition: 0.3s;
}

button.mdc-button--raised.full:hover {
  background-color: #7a9524;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: #555;
  font-size: 14px;
}

.auth-footer a {
  color: #8AA624;
  font-weight: 500;
  transition: 0.3s;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ===============================
   LOGIN DARK MOD
   =============================== */
   
body.dark-mode {
  background-color: #0E0E0E;
  color: #EAEAEA;
}

body.dark-mode .login-wrapper {
  background: radial-gradient(circle at center, #0a0a0a, #161616);
}

body.dark-mode .login-card {
  background: #1C1C1C;
  color: #EAEAEA;
}

body.dark-mode .input-with-icon {
  background-color: #121212;
  border: 1px solid #222; 
  color: #EAEAEA;
}

body.dark-mode .input-with-icon:hover,
body.dark-mode .input-with-icon:focus-within {
  border: 1px solid #8AA624; 
}


body.dark-mode .input-with-icon span.material-icons {
  color: #A5D63F;
}

body.dark-mode .password-field .toggle-password {
  color: #A5D63F;
}

body.dark-mode button.mdc-button--raised.full {
  background-color: #A5D63F;
  color: #1A1A1A;
}

body.dark-mode button.mdc-button--raised.full:hover {
  background-color: #B7E04A;
}

body.dark-mode .auth-footer {
  color: #BDBDBD;
}

body.dark-mode .auth-footer a {
  color: #A5D63F;
}

body.dark-mode .auth-footer a:hover {
  color: #C3F25B;
}

.login-card, .input-with-icon, button, .auth-footer {
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 500px) {
  .login-card {
    width: 90%;
    padding: 35px 25px;
  }
}

/* ===============================
   AVTOMATIK DOLDURMA RENG 
   =============================== */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #fafafa inset !important; 
  -webkit-text-fill-color: #333 !important;
  transition: background-color 5000s ease-in-out 0s;
}

body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #121212 inset !important;
  -webkit-text-fill-color: #EAEAEA !important;
}

/* ===============================
   ALERT MESAJLAR
   =============================== */

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 18px;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .alert.success {
        background: #edf9ed;
        color: #2e7d32;
        border-left: 5px solid #8AA624;
    }

    .alert.error {
        background: #fdecea;
        color: #b71c1c;
        border-left: 5px solid #f44336;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.dark-mode .alert {
    border-radius: 8px;
    padding: 12px 15px;
    color: #EAEAEA;
    font-weight: 400;
    transition: all 0.3s ease;
}

body.dark-mode .alert.success {
    background: rgba(165, 214, 63, 0.1); 
    color: #C4F06B; 
    border-left: 5px solid #A5D63F;
}

body.dark-mode .alert.error {
    background: rgba(244, 67, 54, 0.1); 
    color: #ff8a80; 
    border-left: 5px solid #f44336;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   🔹 OTP TESDIQLEME
   =============================== */
   
.otp-container {
    text-align: center;
    padding: 30px 20px;
}

    .otp-container h3 {
        font-size: 22px;
        font-family: "Sawarabi Gothic", sans-serif;
        font-weight: 400;
        font-style: normal;
        color: #333;
        margin-bottom: 10px;
    }

.otp-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

    .otp-inputs input {
        width: 45px;
        height: 55px;
        text-align: center;
        font-size: 22px;
        border: 2px solid #ccc;
        border-radius: 10px;
        transition: 0.3s;
        background: #fafafa;
        color: #333;
    }

        .otp-inputs input:focus {
            border-color: #8AA624;
            outline: none;
            background: #fff;
        }

.otp-footer {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#timer {
    color: #8AA624;
    font-weight: 600;
}

#resendBtn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-subinfo {
    font-size: 13px;
    color: #777;
    margin-top: -10px;
    margin-bottom: 25px;
}

/* ===============================
   🔹 OTP GONDERME ANIMASIYASI
   =============================== */
   
.otp-sent-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fdf3;
    color: #4e6e20;
    border: 1.5px solid #8AA624;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 25px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    animation: fadeInSlide 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

    .otp-sent-alert span.material-icons {
        font-size: 20px;
        animation: rotateHourglass 1.4s linear infinite;
        color: #8AA624;
    }

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateHourglass {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-out {
    animation: fadeOut 0.6s ease forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ===============================
   OTP GONDERME DARK MOD
   =============================== */
   
body.dark-mode .otp-container {
    background: transparent;
    color: #EAEAEA;
}

body.dark-mode .otp-container h3 {
    color: #F1F1F1;
}

body.dark-mode .otp-info {
    color: #BDBDBD;
}

body.dark-mode .otp-subinfo {
    color: #9E9E9E;
}

body.dark-mode .otp-inputs input {
    background: #1C1C1C;
    border: 2px solid #333;
    color: #EAEAEA;
    transition: 0.3s ease;
}

body.dark-mode .otp-inputs input:focus {
    border-color: #A5D63F;
    background: #242424;
    color: #fff;
}

body.dark-mode #timer {
    color: #A5D63F;
}

body.dark-mode #resendBtn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===============================
   OTP GONDERME DARK MOD
   =============================== */
   
body.dark-mode .otp-sent-alert {
    background: rgba(165, 214, 63, 0.1);
    color: #C5E16F;
    border: 1.5px solid #A5D63F;
}

body.dark-mode .otp-sent-alert span.material-icons {
    color: #A5D63F;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateHourglass {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.otp-container,
.otp-inputs input,
.otp-sent-alert {
    transition: background-color 0.3s ease, 
                color 0.3s ease,
                border-color 0.3s ease;
}

/* ===============================
   🔹 FOOTER
   =============================== */
   
footer {
    background-color: #2E2E2E;
    color: #f5f5f5;
    padding: 40px 0;
    margin-top: 80px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    footer .footer-wrapper {
        max-width: 1100px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer h2, footer h4 {
        color: #8AA624;
        margin-bottom: 10px;
    }

    footer p, footer a, footer li {
        color: #ccc;
        line-height: 1.8;
    }

        footer a:hover {
            color: #8AA624;
        }

    footer ul {
        list-style: none;
        padding: 0;
    }

    footer .copyright {
        text-align: center;
        border-top: 1px solid #444;
        margin-top: 20px;
        padding-top: 15px;
        color: #aaa;
        font-size: 14px;
    }

/* ===============================
   🔹 RESPONSIV DIZAYN
   =============================== */
   
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .auth-container {
        margin: 40px 15px;
        padding: 25px;
    }
}


/* ===============================
   FOOTER DARK MOD
   =============================== */
   
body.dark-mode footer {
    background-color: #0F0F0F; 
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode footer .footer-wrapper {
    border-top: 1px solid #222;
}

body.dark-mode footer h2,
body.dark-mode footer h4 {
    color: #A5D63F; 
}

body.dark-mode footer p,
body.dark-mode footer a,
body.dark-mode footer li {
    color: #CFCFCF;
    transition: color 0.3s ease;
}

body.dark-mode footer a:hover {
    color: #B8E04A;
}

body.dark-mode footer .copyright {
    border-top: 1px solid #2A2A2A;
    color: #9E9E9E;
    background-color: #111111;
}

/* ===============================
   FOOTER DARK MOD RESPONSIVE
   =============================== */
   
@media (max-width: 768px) {
    body.dark-mode .footer-wrapper {
        flex-direction: column;
        text-align: center;
        border-top: none;
    }

    body.dark-mode footer {
        padding: 35px 0;
    }
}

/* ===============================
   AUTENTIFIKASIYA 
   =============================== */
   
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(120deg, #f4f7f5, #eef1ea);
}

.auth-card {
    width: 800px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    transition: 0.3s ease;
}

    .auth-card:hover {
        transform: translateY(-3px);
    }
    
.auth-header {
    text-align: center;
    margin-bottom: 25px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .auth-header h2 {
        margin-top: 8px;
        font-weight: 600;
        color: #333;
        font-family: "Sawarabi Gothic", sans-serif;
        font-weight: 400;
        font-style: normal;
    }

.error-box {
    background-color: #fdecea;
    border: 1px solid #f5c2c0;
    color: #a11;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.full {
    width: 100% !important;
    margin-bottom: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 15px;
    color: #555;
}

    .auth-footer a {
        color: #8AA624;
        font-weight: 500;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 500px) {
    .auth-card {
        width: 90%;
        padding: 30px 20px;
    }
}

/* ===============================
   AUTENTIFIKASIYA DARK MOD
   =============================== */
   
body.dark-mode .auth-wrapper {
    background: linear-gradient(120deg, #0d0d0d, #1a1a1a);
    color: #EAEAEA;
}

body.dark-mode .auth-card
{
    background: #1C1C1C;
    color: #EAEAEA;
    border-radius: 20px;
    transition: 0.3s ease;
}

body.dark-mode .auth-card:hover,
body.dark-mode:hover {
    transform: translateY(-3px);
}

body.dark-mode .auth-card:hover,
body.dark-mode:hover {
  transform: translateY(-3px);
}

body.dark-mode .auth-header h2 {
    color: #F1F1F1;
}

body.dark-mode .error-box {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #ff8a80;
}

body.dark-mode .auth-footer {
    color: #BDBDBD;
}

body.dark-mode .auth-footer a {
    color: #A5D63F;
    font-weight: 500;
    transition: 0.3s ease;
}

body.dark-mode .auth-footer a:hover {
    color: #C3F25B;
    text-decoration: underline;
}

.auth-card,
.auth-footer,
.error-box {
    transition: background-color 0.3s ease, color 0.3s ease,
                border-color 0.3s ease;
}

@media (max-width: 500px) {
    body.dark-mode .auth-card {
        width: 90%;
        padding: 30px 20px;
        background: #1B1B1B;
    }
}

/* ===============================
   🔹 NAVBAR
   =============================== */
   
.navbar-container {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    color: #8AA624;
    font-weight: 700;
    font-size: 1.1rem;
}

    .navbar-logo .material-icons {
        margin-right: 8px;
        color: #8AA624;
    }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

    .navbar-links a {
        color: #333;
        font-weight: 500;
        text-decoration: none;
        position: relative;
    }

        .navbar-links a:hover {
            color: #8AA624;
        }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===============================
   PROFIL MENYUSU
   =============================== */
   
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    font-size: 18px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-width: 150px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: #333;
        transition: 0.3s;
    }

        .dropdown-menu a:hover {
            background: #f0f2e9;
            color: #8AA624;
        }

.dropdown.open .dropdown-menu {
    display: block;
}

/* ===============================
   🔹 RESPONSIV NAVBAR
   =============================== */
   
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #fff;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid #eee;
        display: none;
    }

        .navbar-links.active {
            display: flex;
        }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
    }

        .dropdown-menu a {
            padding: 8px 0;
        }
}

/* ===============================
   NAVBAR DARK MOD
   =============================== */
   
body.dark-mode .navbar-container {
    background-color: #1A1A1A;
}

body.dark-mode .navbar-content {
    color: #EAEAEA;
}

body.dark-mode .navbar-logo {
    color: #A5D63F;
}

body.dark-mode .navbar-logo .material-icons {
    color: #A5D63F;
}

body.dark-mode .navbar-links a {
    color: #EAEAEA;
    transition: color 0.3s ease;
}

body.dark-mode .navbar-links a:hover {
    color: #B8E04A;
}

body.dark-mode .navbar-toggle {
    color: #EAEAEA;
}

/* ===============================
   PROFIL MENYUSU DARK MOD
   =============================== */
   
body.dark-mode .dropdown-btn {
    color: #EAEAEA;
    transition: color 0.3s ease;
}

body.dark-mode .dropdown-btn:hover {
    color: #B8E04A;
}

body.dark-mode .dropdown-menu {
    background: #242424;
    border: 1px solid #2A2A2A;
}

body.dark-mode .dropdown-menu a {
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .dropdown-menu a:hover {
    background: rgba(165, 214, 63, 0.12);
    color: #A5D63F;
}

/* ===============================
   RESPONSIV NAVBAR DARK MODE
   =============================== */
   
@media (max-width: 768px) {
    body.dark-mode .navbar-links {
        background: #1C1C1C;
        border-top: 1px solid #2A2A2A;
    }

    body.dark-mode .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
    }

    body.dark-mode .dropdown-menu a {
        color: #EAEAEA;
    }

    body.dark-mode .dropdown-menu a:hover {
        color: #B8E04A;
    }
}

.navbar-container,
.navbar-links a,
.dropdown-menu,
.dropdown-btn,
.navbar-logo,
.navbar-toggle {
    transition: background-color 0.3s ease, 
                color 0.3s ease,
                border-color 0.3s ease;
}

/* ===============================
   STICKY NAVBAR
   =============================== */
   
.navbar-container {
    background-color: #ffffff;
    position: sticky; 
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* ===============================
   FOOTER HEMISE ASAGIDA
   =============================== */
   
footer {
    background-color: #2E2E2E;
    color: #f5f5f5;
    padding: 40px 0;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: auto; 
    width: 100%;
}

    footer .footer-wrapper {
        max-width: 1100px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer h2, footer h4 {
        color: #8AA624;
        margin-bottom: 10px;
    }

    footer p, footer a, footer li {
        color: #ccc;
        line-height: 1.8;
    }

        footer a:hover {
            color: #8AA624;
        }

    footer ul {
        list-style: none;
        padding: 0;
    }

    footer .copyright {
        text-align: center;
        border-top: 1px solid #444;
        margin-top: 20px;
        padding-top: 15px;
        color: #aaa;
        font-size: 14px;
    }

/* ===============================
   MOBIL RESPONSIV
   =============================== */
   
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* ===============================
   NAVBAR STICKY DARK MOD
   =============================== */
   
body.dark-mode .navbar-container {
    background-color: #1A1A1A; 
    transition: background-color 0.3s ease;
}

body.dark-mode .navbar-container a,
body.dark-mode .navbar-container .material-icons,
body.dark-mode .navbar-container span,
body.dark-mode .navbar-container button {
    color: #EAEAEA;
    transition: color 0.3s ease;
}

body.dark-mode .navbar-container a:hover,
body.dark-mode .navbar-container button:hover,
body.dark-mode .navbar-container .material-icons:hover {
    color: #A5D63F; /* Vueax brend yaşıl tonu */
}

/* ===============================
   FOOTER HEMISE ASAGIDA DARK MOD
   =============================== */
   
body.dark-mode footer {
    background-color: #0F0F0F;
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode footer .footer-wrapper {
    border-top: 1px solid #222;
}

body.dark-mode footer h2,
body.dark-mode footer h4 {
    color: #A5D63F;
}

body.dark-mode footer p,
body.dark-mode footer a,
body.dark-mode footer li {
    color: #CFCFCF;
    transition: color 0.3s ease;
}

body.dark-mode footer a:hover {
    color: #B8E04A;
}

body.dark-mode footer .copyright {
    border-top: 1px solid #2A2A2A;
    color: #9E9E9E;
    background-color: #111111;
}

/* ===============================
   DARK MOD — RESPONSIV
   =============================== */
   
@media (max-width: 768px) {
    body.dark-mode .footer-wrapper {
        flex-direction: column;
        text-align: center;
        border-top: none;
    }

    body.dark-mode footer {
        padding: 35px 0;
    }
}

.navbar-container,
footer,
footer a,
footer h2,
footer h4,
footer p {
    transition: background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease
}


/* ===============================
   AXTARIS  DİZAYNI (MODERN)
   =============================== */
   
.hero-section {
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 25px;
}

.hero-overlay {
    background: rgba(0,0,0,0.55);
    padding: 60px 20px;
}

.hero-section h1 {
    font-size: 30px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-section p {
    font-size: 17px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 25px;
    opacity: 0.9;
}

.search-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

    .search-tabs button {
        border: none;
        background: #f1f3f4;
        padding: 10px 18px;
        border-radius: 3px;
        font-family: "Sawarabi Gothic", sans-serif;
        font-weight: 500;
        font-style: normal;
        cursor: pointer;
        transition: 0.2s;
    }

        .search-tabs button.active {
            background: #8AA624;
            color: white;
        }

.search-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-fields input {
  flex: 1;
  border-radius: 5px;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  border: 1px solid #ccc; 
  padding: 10px 14px; 
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-fields input::placeholder {
  color: #999;
  opacity: 1;
}

.search-fields input:focus {
  border: 1px solid #8AA624;
  box-shadow: none;
}

.filter-btn, .search-btn {
    display: flex;
    align-items: center;
    gap: 1px;
    border: none;
    height: 37px;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.filter-btn {
    background: #f1f3f4;
}

    .filter-btn:hover {
        background: #e1e4e6;
    }

.search-btn {
    background: #8AA624;
    color: #fff;
    height: 37px;
}

    .search-btn:hover {
        background: #7a9620;
    }

.search-hint {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

    .search-hint a {
        color: #8AA624;
        text-decoration: none;
        font-weight: 500;
    }


/* ===============================
   🌙 DARK MODE — AXTARIS DİZAYNI
   =============================== */

body.dark-mode .hero-section {
    background: url('../images/hero-bg.jpg');
    color: #EAEAEA;
}

body.dark-mode .hero-overlay {
    background: rgba(0, 0, 0, 0.75);
}

body.dark-mode .hero-section h1 {
    color: #F1F1F1;
}

body.dark-mode .hero-section p {
    color: #CFCFCF;
}

body.dark-mode .search-box {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .search-tabs button {
    background: #2A2A2A;
    color: #EAEAEA;
    transition: 0.3s ease;
}

body.dark-mode .search-tabs button:hover {
    background: #3A3A3A;
}

body.dark-mode .search-tabs button.active {
    background: #A5D63F;
    color: #1A1A1A;
}

body.dark-mode .search-fields input {
  background: #1E1E1E;
  border: 1px solid #333;
  color: #EAEAEA;
  padding: 10px 14px;
}

body.dark-mode .search-fields input::placeholder {
  color: #888;
}

body.dark-mode .search-fields input:focus {
  border: 1px solid #8AA624;
  box-shadow: none;
}

body.dark-mode .filter-btn {
    background: #2A2A2A;
    color: #EAEAEA;
}

body.dark-mode .filter-btn:hover {
    background: #3A3A3A;
}

body.dark-mode .search-btn {
    background: #A5D63F;
    color: #1A1A1A;
}

body.dark-mode .search-btn:hover {
    background: #B8E04A;
    color: #000;
}

body.dark-mode .search-hint {
    color: #BDBDBD;
}

body.dark-mode .search-hint a {
    color: #A5D63F;
}

body.dark-mode .search-hint a:hover {
    color: #C3F25B;
}

/* ===============================
   FILTER MODALI
   =============================== */

.filter-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.filter-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 95%;
  max-width: 850px;
  overflow-y: auto;        
  font-family: "Sawarabi Gothic", sans-serif;
  max-height: 90vh;
}

.filter-content h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.filter-content label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #444;
}

.filter-content select,
.filter-content input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.range-row input {
  flex: 1;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  padding: 18px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background-color: #fff;
}

.extras-grid label {
  display: flex;
  align-items: center;
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 15px;
  color: #2b2b2b;
  cursor: pointer;
  transition: color 0.2s ease;
}

.extras-grid input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #8AA624; 
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.extras-grid input[type="checkbox"]:hover {
  border-color: #a0c43a; 
}

.extras-grid input[type="checkbox"]:checked {
  background-color: #8AA624;
  border-color: #8AA624;
}

.extras-grid input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.extras-grid label:hover {
  color: #8AA624;
}

.filter-modal-title {
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #8AA624; 
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #dfe5c9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.filter-modal-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background-color: #8AA624;
  box-shadow: 0 0 8px rgba(138, 166, 36, 0.5);
}

body.dark-mode .extras-grid {
  background-color: #181818; 
  border-color: #2f2f2f;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

body.dark-mode .extras-grid label {
  color: #e0e0e0;
  transition: all 0.25s ease;
}

body.dark-mode .extras-grid label:hover {
  background-color: #181818;
  color: #cde47f; 
}

body.dark-mode label[for="extras-grid-title"] {
  color: #d4d4d4;
}

body.dark-mode .extras-grid input[type="checkbox"] {
  border-color: #9bbd3f; 
  background-color: #121212;
}

body.dark-mode .extras-grid input[type="checkbox"]:hover {
  border-color: #a7d142;
  box-shadow: 0 0 4px rgba(138,166,36,0.4);
}

body.dark-mode .extras-grid input[type="checkbox"]:checked {
  background-color: #8AA624;
  border-color: #8AA624;
  box-shadow: 0 0 6px rgba(138,166,36,0.5);
}

body.dark-mode .extras-grid input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  border: solid #8AA624;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}

.apply-filter-btn {
  margin-top: 20px;
  width: 100%;
  background-color: #8AA624;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.apply-filter-btn:hover {
  background-color: #758C1D;
}

.close-filter {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

.close-filter:hover {
  color: #333;
}


/* ===============================
   FILTER MODALI DARK MOD
   =============================== */
   
body.dark-mode .filter-modal {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .filter-content {
  background: #1C1C1C;
  color: #EAEAEA;
  border: 1px solid #2e2e2e;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Başlıq */
body.dark-mode .filter-content h3 {
  color: #cde47f; /* Vueax açıq tonu */
  border-bottom: 1px solid rgba(138, 166, 36, 0.4);
  padding-bottom: 8px;
}

/* Input və select sahələri */
body.dark-mode .filter-content input,
body.dark-mode .filter-content select {
  background-color: #262626;
  color: #f2f2f2;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  transition: all 0.25s ease;
}

body.dark-mode .filter-content input:focus,
body.dark-mode .filter-content select:focus {
  border-color: #8AA624; /* Vueax rəngi */
  box-shadow: 0 0 6px rgba(138, 166, 36, 0.4);
  outline: none;
}

/* Label və textlər */
body.dark-mode .filter-content label {
  color: #d8d8d8;
}

/* Aşağıdakı “Filtrləri tətbiq et” düyməsi */
body.dark-mode .filter-content button {
  background-color: #8AA624;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

body.dark-mode .filter-content button:hover {
  background-color: #a3c13d;
  box-shadow: 0 0 8px rgba(138, 166, 36, 0.5);
}


body.dark-mode .price-range {
    color: #EAEAEA;
}

body.dark-mode .apply-filter-btn {
    background: #A5D63F;
    color: #1A1A1A;
}

body.dark-mode .apply-filter-btn:hover {
    background: #B8E04A;
}

body.dark-mode .close-filter {
    color: #CFCFCF;
}

body.dark-mode .close-filter:hover {
    color: #fff;
}

.search-box,
.search-tabs button,
.search-fields input,
.filter-content,
.filter-btn,
.search-btn,
.apply-filter-btn,
.close-filter {
    transition: background-color 0.3s ease, 
    color 0.3s ease,
    border-color 0.3s ease;
}


/* ===============================
   Aletlər Kartları - Modern Dizayn
   =============================== */

.tools-section {
  margin-top: 60px;
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  
}

.tool-card {
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 30px 25px;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: "Sawarabi Gothic", sans-serif;
}

@media (max-width: 768px) {
  .tool-card {
    margin-top: 3px;  
    margin-bottom: 3px;
    padding: 25px 20px;  
  }

  .tools-grid {
    gap: 15px; 
  }
}

.tool-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card:hover {
  transform: translateY(-6px) scale(1.02);
  border: 1px solid #8AA624;
}

.tool-card .material-icons {
  font-size: 44px;
  color: #8AA624;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.tool-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.tool-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }

  .tool-card {
    margin: 0;
    padding: 20px 15px;
    border-radius: 12px;
  }

  .tool-card h3 {
    font-size: 16px;
  }

  .tool-card p {
    font-size: 13px;
  }
}

/* ===============================
   Dark Mode
   =============================== */

body.dark-mode .tool-card {
  background: linear-gradient(145deg, #1b1b1b, #222);
  border: 1px solid #8AA624;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  color: #eaeaea;
}

body.dark-mode .tool-card::before {
  background: radial-gradient(circle, rgba(165,214,63,0.15) 0%, transparent 60%);
}

body.dark-mode .tool-card:hover {
  border: 1px solid #8AA624;
}

body.dark-mode .tool-card .material-icons {
  color: #A5D63F;
}

body.dark-mode .tool-card h3 {
  color: #f5f5f5;
}

body.dark-mode .tool-card p {
  color: #bbb;
}

.tools-section,
.tool-card,
.tool-card .material-icons {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ===============================
   GRID LIST QARISIQ LAYOUT
   =============================== */
   
.tools-section {
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    transition: 0.3s;
    text-align: center;
}

    .tool-card:hover {
        transform: translateY(-4px);
    }

    .tool-card .material-icons {
        font-size: 40px;
        color: #8AA624;
        margin-bottom: 10px;
    }

    .tool-card h4 {
        margin-bottom: 8px;
        color: #333;
        font-weight: 600;
    }

    .tool-card p {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   DARK MOD — GRID LIST QARISIQ LAYOUT
   =============================== */
   
body.dark-mode .tools-section {
    background: transparent;
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .tools-grid {
    gap: 25px;
}

body.dark-mode .tool-card {
    background: #1A1A1A;
    color: #EAEAEA;
    border-radius: 12px;
    transition: 0.3s ease;
}

body.dark-mode .tool-card:hover {
    transform: translateY(-4px);
}

body.dark-mode .tool-card .material-icons {
    color: #A5D63F;
    transition: color 0.3s ease;
}

body.dark-mode .tool-card h4 {
    color: #F1F1F1;
    font-weight: 600;
}

body.dark-mode .tool-card p {
    color: #CFCFCF;
}

@media (max-width: 992px) {
    body.dark-mode .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    body.dark-mode .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tools-section,
.tool-card,
.tool-card .material-icons,
.tool-card h4,
.tool-card p {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ===============================
   🔹 KONTEYNER STRUKTURU
   =============================== */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===============================
   🔹 GRID STRUKTURU
   =============================== */

.listing-grid, .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px 15px;
}

.premium-card{
  position: relative;
  flex: 0 0 calc(20% - 15px); 
  max-width: calc(20% - 15px);
  height: 360px; 
  margin-bottom: 25px;
  background: #fff;
  border: 2px solid #D6DE09;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modern-card {
  position: relative;
  flex: 0 0 calc(20% - 15px); 
  max-width: calc(20% - 15px);
  height: 360px; 
  margin-bottom: 25px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.premium-card:hover,
.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===============================
   🔹 ŞƏKİL EFFEKTİ
   =============================== */

.premium-card img,
.modern-card img {
  position: relative;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}

.premium-card:hover img,
.modern-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.9) contrast(1.05);
  box-shadow: 0 0 15px rgba(138, 166, 36, 0.4);
}

.premium-card::after,
.modern-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.premium-card:hover::after,
.modern-card:hover::after {
  opacity: 1;
}

/* ===============================
   🔹 CARD MƏZMUNU
   =============================== */

.listing-content,
.modern-content {
  padding: 15px;
  background: linear-gradient(180deg, #fff 60%, #f9f9f9 100%);
}

.listing-content h4,
.modern-content h4 {
  color: #8AA624;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.listing-content p,
.modern-content p {
  color: #333;
  font-size: 15px;
  margin-bottom: 8px;
}

.listing-location,
.modern-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
  font-size: 13px;
}

/* ===============================
   🔹 PREMIUM BADGE
   =============================== */

.premium-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, #f7c948, #d4af37);
  color: #1A1A1A;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ===============================
   🔹 SECTION HEADER
   =============================== */

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  margin-top: 20px;
  padding: 10px 0;
}

.section-header h5 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: #222;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header .material-icons {
  background: linear-gradient(135deg, #8AA624, #A5D63F);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 22px;
}

.section-line {
  flex-grow: 1;
  height: 3px;
  border-radius: 50px;
  background: linear-gradient(90deg, #A5D63F, #DCE775);
  margin-left: 10px;
  opacity: 0.7;
}

/* ===============================
   🔹 DARK MODE DƏSTƏYİ
   =============================== */

body.dark-mode .premium-card,
body.dark-mode .modern-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .listing-content,
body.dark-mode .modern-content {
  background: linear-gradient(180deg, #1b1b1b 60%, #222 100%);
}

body.dark-mode .listing-content h4,
body.dark-mode .modern-content h4 {
  color: #A5D63F;
}

body.dark-mode .listing-content p,
body.dark-mode .modern-content p,
body.dark-mode .listing-location,
body.dark-mode .modern-location {
  color: #CFCFCF;
}

body.dark-mode .section-header h5 {
  color: #EAEAEA;
}

body.dark-mode .section-header .material-icons {
  background: linear-gradient(135deg, #A5D63F, #DCE775);
  color: #1A1A1A;
  box-shadow: 0 3px 12px rgba(165, 214, 63, 0.3);
}

body.dark-mode .section-line {
  background: linear-gradient(90deg, #A5D63F, #DCE775);
  opacity: 0.8;
}

/* ===============================
   🔹 RESPONSIVE DƏSTƏK
   =============================== */

@media (max-width: 1200px) {
  .premium-card,
  .modern-card {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .premium-card,
  .modern-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===============================
   ƏMLAK DETALLARI 
   =============================== */
   
.property-details-container {
    margin-top: 60px;
    max-width: 1100px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.property-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.property-left {
    flex: 2;
}

.property-gallery .main-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 5px;
}

    .gallery-thumbs img {
        width: 100%;
        height: 60px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.2s;
    }

        .gallery-thumbs img:hover {
            opacity: 0.8;
        }

.property-description {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    line-height: 1.6;
    color: #444;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.property-right {
    flex: 1;
}

.price-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .price-card h3 {
        color: #8AA624;
        font-size: 22px;
        font-family: "Sawarabi Gothic", sans-serif;
        font-weight: 700;
        font-style: normal;
    }

.owner-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.owner-info a {
    color: #8AA624;
    font-size: 13px;
    text-decoration: none;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .owner-info a:hover {
        text-decoration: underline;
    }

.map-btn,
.show-number-btn,
.msg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    cursor: pointer;
    transition: 0.3s;
    padding: 12px;
}

.map-btn {
    background-color: #F2F6EB;
    color: #6D8420;
}

    .map-btn:hover {
        background-color: #E2EBD3;
    }

.show-number-btn {
    background-color: #8AA624;
    color: #fff;
}

    .show-number-btn:hover {
        background-color: #7a9620;
    }

.msg-btn {
    background-color: #0078FF;
    color: #fff;
}

    .msg-btn:hover {
        background-color: #005fcc;
    }

.property-info {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

    .property-info table {
        width: 100%;
        border-collapse: collapse;
    }

    .property-info td {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        color: #444;
    }

        .property-info td:first-child {
            color: #888;
            width: 150px;
        }

.map-section {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

    .map-section h3 {
        margin-bottom: 15px;
    }

@media (max-width: 900px) {
    .property-wrapper {
        flex-direction: column;
    }

    .property-right {
        order: -1;
    }
}


.property-gallery {
    position: relative;
}

    .property-gallery .main-img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px;
        cursor: pointer;
    }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

    .gallery-thumbs img {
        width: 100%;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        transition: 0.2s;
    }

        .gallery-thumbs img:hover {
            transform: scale(1.03);
        }

.glightbox-clean .gslide-description {
    font-size: 14px;
    color: #fff;
}

.price-card {
    position: sticky;
    top: 100px;
}

/* ===============================
   DARK MOD — ƏMLAK DETALLARI 
   =============================== */
   
body.dark-mode .property-details-container {
    color: #EAEAEA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .property-gallery .main-img {
    filter: brightness(0.9);
}

body.dark-mode .gallery-thumbs img {
    filter: brightness(0.85);
}

body.dark-mode .gallery-thumbs img:hover {
    opacity: 0.9;
    transform: scale(1.04);
}

body.dark-mode .property-description {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .price-card {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .price-card h3 {
    color: #A5D63F; 
}

body.dark-mode .owner-info a {
    color: #A5D63F;
}

body.dark-mode .owner-info a:hover {
    color: #C3F25B;
}

body.dark-mode .owner-avatar {
    border: 2px solid #333;
}

body.dark-mode .map-btn {
    background-color: #2A2A2A;
    color: #A5D63F;
}
body.dark-mode .map-btn:hover {
    background-color: #3A3A3A;
}

body.dark-mode .show-number-btn {
    background-color: #A5D63F;
    color: #1A1A1A;
}
body.dark-mode .show-number-btn:hover {
    background-color: #B8E04A;
}

body.dark-mode .msg-btn {
    background-color: #0078FF;
    color: #fff;
}
body.dark-mode .msg-btn:hover {
    background-color: #005fcc;
}

body.dark-mode .property-info {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .property-info td {
    border-bottom: 1px solid #333;
    color: #CFCFCF;
}

body.dark-mode .property-info td:first-child {
    color: #999;
}

body.dark-mode .map-section {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .map-section h3 {
    color: #F1F1F1;
}

body.dark-mode .glightbox-clean .gslide-description {
    color: #EAEAEA;
}

.property-description,
.price-card,
.property-info,
.map-section,
.map-btn,
.show-number-btn,
.msg-btn,
.gallery-thumbs img {
    transition: background-color 0.3s ease, 
                color 0.3s ease,
                border-color 0.3s ease, 
                transform 0.3s ease, filter 0.3s ease;
}

/* ===============================
   NÖMRƏ GOSTERME VE MESAJ MODALI
   =============================== */
   
.show-number-btn span {
    display: block;
}

    .show-number-btn span:first-child {
        font-size: 15px;
        font-weight: 500;
    }

#maskedPhone {
    font-size: 18px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-top: 4px;
}

.message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideDown 0.3s ease;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

@keyframes slideDown {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

    .close-modal:hover {
        color: #000;
    }

.modal-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 12px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    transition: 0.3s;
}

    .modal-content input:focus,
    .modal-content textarea:focus {
        outline: none;
        border-color: #8AA624;
    }

.send-btn {
    background-color: #8AA624;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

    .send-btn:hover {
        background-color: #7a9620;
    }

/* ===============================
   ISTIFADECI PANELI - DASHBOARD
   =============================== */

.dashboard {
    margin-top: 40px;
}

    .dashboard h2 {
        margin-bottom: 5px;
        font-family: "Sawarabi Gothic", sans-serif;
        font-weight: 700;
        font-style: normal;
    }

.role-label {
    margin-bottom: 25px;
    color: #666;
}

.my-listings, .favourites, .agency-info {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.add-btn {
    background: #8AA624;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

    .add-btn:hover {
        background: #7a9620;
    }


.fav-btn {
    background: #fff;
    color: #8AA624;
    border: 2px solid #8AA624;
    border-radius: 8px;
    padding: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.3s;
}

    .fav-btn:hover {
        background-color: #8AA624;
        color: #fff;
    }

    .fav-btn.active {
        background-color: #8AA624;
        color: #fff;
    }

        .fav-btn.active i {
            color: #fff;
        }

/* ===============================
   MOBIL MENYU IKONU
   =============================== */

#menuIcon {
  font-family: 'Material Icons';
  color: #333 !important;
  font-size: 28px;
  z-index: 9999;
  position: relative;
}

.menu-toggle {
  position: relative;
  z-index: 10001;
}


.mobile-overlay {
  z-index: 1000;
}


.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.3s ease;
}
.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
}
.theme-toggle .material-icons {
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
}

/* ===============================
   🌙 DARK MOD — NÖMRƏ GOSTERME VE MESAJ MODALI
   =============================== */
   
body.dark-mode .show-number-btn span:first-child,
body.dark-mode #maskedPhone {
    color: #EAEAEA;
}

body.dark-mode .message-modal {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .modal-content {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .modal-content h3 {
    color: #F1F1F1;
}

body.dark-mode .modal-content input,
body.dark-mode .modal-content textarea {
    background: #1E1E1E;
    border: 1px solid #333;
    color: #EAEAEA;
}
body.dark-mode .modal-content input:focus,
body.dark-mode .modal-content textarea:focus {
    border-color: #A5D63F;
}

body.dark-mode .close-modal {
    color: #CFCFCF;
}
body.dark-mode .close-modal:hover {
    color: #fff;
}

body.dark-mode .send-btn {
    background-color: #A5D63F;
    color: #1A1A1A;
}
body.dark-mode .send-btn:hover {
    background-color: #B8E04A;
}

/* ===============================
   🌙 DARK MODE — DASHBOARD KARTLAR
   =============================== */
   
body.dark-mode .dashboard {
    color: #EAEAEA;
}
body.dark-mode .dashboard h2 {
    color: #F1F1F1;
}
body.dark-mode .role-label {
    color: #BDBDBD;
}

body.dark-mode .my-listings,
body.dark-mode .favourites,
body.dark-mode .agency-info {
    background: #1A1A1A;
    color: #EAEAEA;
    border: 1px solid #2A2A2A;
}

body.dark-mode .add-btn {
    background: #A5D63F;
    color: #1A1A1A;
}
body.dark-mode .add-btn:hover {
    background: #B8E04A;
}

body.dark-mode .fav-btn {
    background: #1C1C1C;
    color: #A5D63F;
    border: 2px solid #A5D63F;
}
body.dark-mode .fav-btn:hover,
body.dark-mode .fav-btn.active {
    background: #A5D63F;
    color: #1A1A1A;
}

/* ===============================
   🌙 DARK MODE — MENYU & TEMA DÜYMƏSİ
   =============================== */
   
body.dark-mode #menuIcon {
    color: #EAEAEA !important;
}

body.dark-mode .mobile-overlay {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}
body.dark-mode .theme-toggle .material-icons {
    color: #EAEAEA;
}

.modal-content,
.my-listings,
.favourites,
.agency-info,
.fav-btn,
.add-btn,
.send-btn,
.theme-toggle,
.modal-content input,
.modal-content textarea {
    transition: background-color 0.3s ease, 
                color 0.3s ease,
                border-color 0.3s ease, 
                transform 0.3s ease;
}

/* ===============================
   FAVORIT ET
   =============================== */
   
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 5;
}

.favorite-btn:hover {
  background: #f2f2f2;
}

.favorite-btn .material-icons {
  color: #777;
  font-size: 22px;
  transition: color 0.3s ease;
}

.favorite-btn.active .material-icons {
  color: #e53935; 
  content: "favorite";
}


.premium-card, .modern-card {
  position: relative;
  overflow: hidden;
}

/* ===============================
   DIL MENYUSU
   =============================== */
   
.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: none;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  transition: 0.3s;
}

.lang-btn:hover {
  border-color: #8AA624;
  color: #8AA624;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 36px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  list-style: none;
  padding: 6px 0;
  min-width: 70px;
  z-index: 9999;
}

.lang-menu li {
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.lang-menu li:hover {
  background: #f0f3e0;
  color: #8AA624;
}



/* ===============================
   DARK MOD — DIL MENYUSU
   =============================== */
   
body.dark-mode .lang-btn {
  background: none;
  border: 1px solid #444;
  color: #EAEAEA;
  transition: 0.3s ease;
}

body.dark-mode .lang-btn:hover {
  border-color: #A5D63F;
  color: #A5D63F;
}

body.dark-mode .lang-menu {
  background: #1A1A1A;
  border: 1px solid #333;
}

body.dark-mode .lang-menu li {
  color: #EAEAEA;
}

body.dark-mode .lang-menu li:hover {
  background: rgba(165, 214, 63, 0.12);
  color: #A5D63F;
}

.lang-btn,
.lang-menu,
.lang-menu li {
  transition: background-color 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease,
}

/* ===============================
   SOSIAL LINKLER
   =============================== */
   
   .social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
  }

  .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #8AA624;
    background-color: transparent;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .social-btn:hover {
    color: #fff;
    transform: translateY(-2px);
  }

  

  @media (prefers-color-scheme: dark) {
    .social-btn {
      border-color: #8AA624;
      color: #8AA624;
    }

    .social-btn:hover {
      color: #fff;
    }
  }
 
/* ======================================================
   SCROLLBAR CUBUGU
   ====================================================== */

html {
  scrollbar-gutter: stable both; 
}

/* ===============================
   LIGHT MOD
   =============================== */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f3f4ef; 
  border-radius: 12px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9ec834, #8AA624); 
  border-radius: 50px; 
  border: 3px solid #f3f4ef; 
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b3dd48, #9ec834);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #8AA624 #f3f4ef;
}

/* ===============================
   🌙 DARK MODE SCROLLBAR
   =============================== */

body.dark-mode ::-webkit-scrollbar-track {
  background: #111; 
  border-radius: 12px;
}

body.dark-mode ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #B7E04A, #A5D63F);
  border-radius: 50px;
  border: 3px solid #111;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #C8F05A, #B8E04A);
}

body.dark-mode {
  scrollbar-color: #A5D63F #111;
}