/* ======================================================
   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;
}

/* ===========================
   BUYER DASHBOARD
   =========================== */

.buyer-dashboard {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

.buyer-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #8AA624, #9BBE38);
  color: #fff;
  border-radius: 16px;
  padding: 25px 35px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.buyer-dashboard-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.buyer-dashboard-header p {
  margin: 5px 0 0;
  opacity: 0.9;
}

.buyer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.buyer-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.buyer-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.buyer-stat-icon {
  font-size: 38px;
  color: #8AA624;
  margin-bottom: 10px;
}

.buyer-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.buyer-stat-label {
  color: #666;
  font-size: 15px;
  margin-top: 6px;
}

.buyer-favorites {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.buyer-favorites h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.buyer-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.buyer-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
}

.buyer-empty .material-icons {
  font-size: 50px;
  color: #ccc;
}

.buyer-all-listings {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.buyer-all-listings h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.buyer-view-btn {
  margin-top: 15px;
  background: #8AA624 !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 10px 26px !important;
  transition: 0.3s !important;
  text-transform: none !important;
}

.buyer-view-btn:hover {
  background: #79931f !important;
}

@media (max-width: 768px) {
  .buyer-dashboard-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ===============================
   BUYER DASHBOARD - DARK MODE
   =============================== */

body.buyer-dashboard-page.dark-mode {
  background: #1b1b1b;
  color: #eee;
}

body.buyer-dashboard-page.dark-mode .buyer-dashboard-header {
  background: linear-gradient(135deg, #687b2a, #8AA624);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

body.buyer-dashboard-page.dark-mode .buyer-stat-card,
body.buyer-dashboard-page.dark-mode .buyer-favorites,
body.buyer-dashboard-page.dark-mode .buyer-all-listings {
  background: #2a2a2a;
  color: #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.buyer-dashboard-page.dark-mode .buyer-stat-label {
  color: #aaa;
}

body.buyer-dashboard-page.dark-mode .buyer-stat-value {
  color: #fff;
}

body.buyer-dashboard-page.dark-mode .buyer-favorites h3,
body.buyer-dashboard-page.dark-mode .buyer-all-listings h3 {
  color: #fff;
}

body.buyer-dashboard-page.dark-mode .buyer-empty {
  color: #aaa;
}

body.buyer-dashboard-page.dark-mode .buyer-empty .material-icons {
  color: #555;
}

body.buyer-dashboard-page.dark-mode .buyer-view-btn {
  background: #9BBE38 !important;
  color: #111 !important;
}

body.buyer-dashboard-page.dark-mode .buyer-view-btn:hover {
  background: #b0d03f !important;
}

/* ==================================
   SELLER DASHBOARD - LIGHT MODE
   ================================== */

body.seller-dashboard-page {
  background: #f4f6f8;
  color: #222;
  transition: background 0.4s ease, color 0.4s ease;
}

.seller-dashboard {
  max-width: 1150px;
  margin: 50px auto;
  padding: 20px;
}

.seller-header {
  background: linear-gradient(135deg, #8AA624, #9BBE38);
  color: #fff;
  border-radius: 16px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  flex-wrap: wrap;
}

.seller-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.seller-header p {
  margin: 8px 0 0;
  opacity: 0.9;
}

.seller-actions {
  display: flex;
  gap: 12px;
}

.seller-btn-add {
  background: #fff !important;
  color: #8AA624 !important;
  border-radius: 30px !important;
  padding: 10px 20px !important;
  transition: 0.3s !important;
}

.seller-btn-add:hover {
  background: #f0f4e0 !important;
}

.seller-btn-view {
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 10px 22px !important;
  transition: 0.3s !important;
}

.seller-btn-view:hover {
  background: #fff !important;
  color: #8AA624 !important;
}
   
.seller-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.seller-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.seller-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.seller-stat-icon {
  font-size: 38px;
  color: #8AA624;
  margin-bottom: 10px;
}

.seller-stat-value {
  font-size: 22px;
  font-weight: 700;
}

.seller-stat-label {
  font-size: 15px;
  color: #666;
  margin-top: 6px;
}
   
.seller-listings {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.seller-listings h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-weight: 600;
  margin-bottom: 16px;
}

.seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.seller-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.seller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.seller-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.seller-card-body {
  padding: 14px 16px;
}

.seller-card-body h4 {
  margin: 0;
  font-size: 17px;
  color: #333;
  font-weight: 600;
}

.seller-card-body p {
  color: #666;
  margin: 6px 0;
  font-size: 14px;
}

.seller-card-actions {
  display: flex;
  gap: 8px;
}

.seller-card-actions a {
  background: #8AA624;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.seller-card-actions a.edit:hover {
  background: #6d8b1c;
}

.seller-card-actions a.delete {
  background: #d9534f;
}

.seller-card-actions a.delete:hover {
  background: #b33a36;
}

.seller-favorites {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.seller-favorites h3 {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  margin-bottom: 12px;
}

.seller-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.seller-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
}

.seller-empty .material-icons {
  font-size: 50px;
  color: #ccc;
}

/* ===============================
   SELLER DASHBOARD - DARK MOD
   =============================== */

body.seller-dashboard-page.dark-mode {
  background: #1b1b1b;
  color: #eee;
}

body.seller-dashboard-page.dark-mode .seller-header {
  background: linear-gradient(135deg, #6e8120, #8AA624);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

body.seller-dashboard-page.dark-mode .seller-stat-card,
body.seller-dashboard-page.dark-mode .seller-listings,
body.seller-dashboard-page.dark-mode .seller-favorites {
  background: #2a2a2a;
  color: #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.seller-dashboard-page.dark-mode .seller-card {
  background: #333;
}

body.seller-dashboard-page.dark-mode .seller-card-body h4 {
  color: #fff;
}

body.seller-dashboard-page.dark-mode .seller-card-body p {
  color: #bbb;
}

body.seller-dashboard-page.dark-mode .seller-empty {
  color: #aaa;
}

body.seller-dashboard-page.dark-mode .seller-btn-add {
  background: #fff !important;
  color: #8AA624 !important;
}

body.seller-dashboard-page.dark-mode .seller-btn-view {
  border: 2px solid #fff !important;
  color: #fff !important;
}

body.seller-dashboard-page.dark-mode .seller-btn-view:hover {
  background: #fff !important;
  color: #8AA624 !important;
}

@media (max-width: 768px) {
  .seller-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================================
   AGENCY DASHBOARD - LIGHT MOD
   ================================== */

body.agency-dashboard-page {
  background: #f5f6f8;
  color: #222;
  transition: background 0.4s ease, color 0.4s ease;
}

.agency-dashboard {
  max-width: 1150px;
  margin: 50px auto;
  padding: 20px;
}

.agency-header {
  background: #ffffff;
  color: #212121;
  border-radius: 16px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.agency-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.agency-header p {
  margin-top: 6px;
  opacity: 0.9;
}

.agency-actions {
  display: flex;
  gap: 12px;
}

.agency-btn-add {
  background: #fff !important;
  color: #4A6FA5 !important;
  border-radius: 30px !important;
  padding: 10px 20px !important;
  transition: 0.3s !important;
}

.agency-btn-add:hover {
  background: #e9f0ff !important;
}

.agency-btn-manage {
  border: 2px solid #8AA624 !important;
  color: #4A6FA5 !important;
  border-radius: 30px !important;
  padding: 10px 22px !important;
}

.agency-btn-manage:hover {
  background: #8AA624 !important;
  color: #fff !important;
}

.agency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.agency-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.agency-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.agency-stat-icon {
  font-size: 38px;
  color: #8AA624;
  margin-bottom: 10px;
}

.agency-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #212121;
}

body.dark-mode .agency-stat-value {
  color: #e0e0e0;
}

.agency-stat-label {
  color: #666;
  font-size: 15px;
}

body.dark-mode .agency-stat-label {
  color: #ccc;
}

.agency-team {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.agency-team h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.team-card {
  background: #f9f9f9;
  border-radius: 12px;
  text-align: center;
  padding: 16px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.team-card p {
  color: #666;
  font-size: 14px;
  margin: 4px 0;
}

.team-card .material-icons {
  font-size: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.team-card .online { color: #4caf50; }
.team-card .offline { color: #ccc; }

.agency-listings {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.agency-listings h3 {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  margin-bottom: 16px;
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.agency-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

body.dark-mode .agency-card {
  background: #1e1e1e;
  box-shadow: 0 2px 6px rgba(255,255,255,0.05);
}

.agency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.agency-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.agency-card-body {
  padding: 14px 16px;
}

.agency-card-body h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.agency-card-body p {
  color: #666;
  font-size: 14px;
  margin: 6px 0;
}

.agency-card-actions {
  display: flex;
  gap: 8px;
}

.agency-card-actions a {
  background: #4A6FA5;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.agency-card-actions a.delete {
  background: #d9534f;
}

.agency-card-actions a.delete:hover {
  background: #b33a36;
}

.agency-favorites {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.agency-favorites h3 {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  margin-bottom: 12px;
}

.agency-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.agency-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
}

.agency-empty .material-icons {
  font-size: 50px;
  color: #ccc;
}

/* =======================================
   AGENCY DASHBOARD - DARK MOD
   ======================================= */

body.agency-dashboard-page.dark-mode {
  background: #121212;
  color: #e0e0e0;
  transition: background 0.4s ease, color 0.4s ease;
}

/* =======================
   HEADER
======================= */

body.agency-dashboard-page.dark-mode .agency-header {
  background: linear-gradient(135deg, #6f8e22, #8AA624);
  color: #ffffff;
  border-radius: 16px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  transition: background 0.3s ease, color 0.3s ease;
}

body.agency-dashboard-page.dark-mode .agency-header h2 {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

body.agency-dashboard-page.dark-mode .agency-header p {
  color: #e0e0e0;
  opacity: 0.85;
}

/* =======================
   BUTTONS
======================= */

body.agency-dashboard-page.dark-mode .agency-btn-add {
  background: #2a2a2a !important;
  color: #9BBE38 !important;
  border: 1px solid #9BBE38 !important;
  transition: 0.3s !important;
}
body.agency-dashboard-page.dark-mode .agency-btn-add:hover {
  background: #9BBE38 !important;
  color: #121212 !important;
}

body.agency-dashboard-page.dark-mode .agency-btn-manage {
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 30px !important;
  transition: 0.3s !important;
}
body.agency-dashboard-page.dark-mode .agency-btn-manage:hover {
  background: #fff !important;
  color: #8AA624 !important;
}

/* =======================
   STAT CARDS DARK MOD
======================= */

body.dark-mode .agency-stat-card,
body.agency-dashboard-page.dark-mode .agency-stat-card {
  background: #1f1f1f !important;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: 0.3s ease;
  color: #fff !important;
}
body.dark-mode .agency-stat-card:hover {
  box-shadow: 0 6px 16px rgba(155,190,56,0.25);
}


/* =======================
   TEAM SECTION
======================= */
body.agency-dashboard-page.dark-mode .agency-team {
  background: #1f1f1f;
  color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.agency-dashboard-page.dark-mode .agency-team h3 {
  color: #fff;
}

body.agency-dashboard-page.dark-mode .team-card {
  background: #262626;
  color: #e0e0e0;
  border: 1px solid rgba(138,166,36,0.2);
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

body.agency-dashboard-page.dark-mode .team-card h4 {
  color: #fff;
}

body.agency-dashboard-page.dark-mode .team-card p {
  color: #bbb;
}

body.agency-dashboard-page.dark-mode .team-card .online {
  color: #9BBE38;
}
body.agency-dashboard-page.dark-mode .team-card .offline {
  color: #888;
}

/* =======================
   LISTINGS
======================= */

body.agency-dashboard-page.dark-mode .agency-listings {
  background: #1f1f1f;
  color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.agency-dashboard-page.dark-mode .agency-listings h3 {
  color: #fff;
}

body.agency-dashboard-page.dark-mode .agency-card {
  background: #262626;
  border: 1px solid rgba(138,166,36,0.25);
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

body.agency-dashboard-page.dark-mode .agency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(155,190,56,0.25);
}

body.agency-dashboard-page.dark-mode .agency-card-body h4 {
  color: #fff;
}

body.agency-dashboard-page.dark-mode .agency-card-body p {
  color: #bbb;
}

body.agency-dashboard-page.dark-mode .agency-card-actions a {
  background: #8AA624;
  color: #121212;
}
body.agency-dashboard-page.dark-mode .agency-card-actions a:hover {
  background: #9BBE38;
  color: #121212;
}
body.agency-dashboard-page.dark-mode .agency-card-actions a.delete {
  background: #d9534f;
}
body.agency-dashboard-page.dark-mode .agency-card-actions a.delete:hover {
  background: #b33a36;
}

/* =======================
   FAVORITES
======================= */

body.agency-dashboard-page.dark-mode .agency-favorites {
  background: #1f1f1f;
  color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.agency-dashboard-page.dark-mode .agency-favorites h3 {
  color: #fff;
}

/* =======================
   EMPTY STATE
======================= */
body.agency-dashboard-page.dark-mode .agency-empty {
  color: #aaa;
}
body.agency-dashboard-page.dark-mode .agency-empty .material-icons {
  color: #555;
}

/* =======================
   RESPONSIVE FIX
======================= */
@media (max-width: 768px) {
  body.agency-dashboard-page.dark-mode .agency-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ===============================
   AGENCY DASHBOARD - DARK MOD
   =============================== */

body.agency-dashboard-page.dark-mode {
  background: #1b1b1b;
  color: #eee;
}

/* ===============================
   AGENCY HEADER - DARK MOD
   =============================== */

body.dark-mode .agency-header {
  background: linear-gradient(135deg, #6f8e22, #8AA624);
  color: #ffffff;
  border-radius: 16px;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .agency-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

body.dark-mode .agency-header p {
  margin-top: 6px;
  opacity: 0.85;
  color: #ffffff;
}

body.agency-dashboard-page.dark-mode .agency-team,
body.agency-dashboard-page.dark-mode .agency-listings,
body.agency-dashboard-page.dark-mode .agency-favorites {
  background: #212121;
  color: #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.agency-dashboard-page.dark-mode .team-card {
  background: #333;
}

body.agency-dashboard-page.dark-mode .agency-card {
  background: #333;
}

body.agency-dashboard-page.dark-mode .agency-card-body h4 {
  color: #fff;
}

body.agency-dashboard-page.dark-mode .agency-card-body p {
  color: #bbb;
}

/* ===============================
   AGENT ELAVE ET
   =============================== */

body.agency-add-page {
  background: #f5f6f8;
  color: #222;
  transition: background 0.4s ease, color 0.4s ease;
}

.agency-add-form {
  max-width: 900px;
  margin: 60px auto;
  background: #fff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.agency-add-form h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  color: #4A6FA5;
  margin-bottom: 20px;
}

.agency-add-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.agency-add-form input,
.agency-add-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.agency-add-form textarea {
  grid-column: 1 / -1;
  height: 120px;
}

.agency-add-form input:focus,
.agency-add-form textarea:focus {
  border-color: #4A6FA5;
  outline: none;
}

.agency-add-form button {
  margin-top: 20px;
  background: #4A6FA5 !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 12px 28px !important;
  text-transform: none !important;
}

.agency-add-form .alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.agency-add-form .alert.error { background: #fdecea; border-left: 4px solid #f44336; }
.agency-add-form .alert.success { background: #e6f4ea; border-left: 4px solid #4CAF50; }

body.agency-add-page.dark-mode {
  background: #1b1b1b;
  color: #eee;
}
body.agency-add-page.dark-mode .agency-add-form {
  background: #2a2a2a;
  color: #eee;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
body.agency-add-page.dark-mode input,
body.agency-add-page.dark-mode textarea {
  background: #333;
  border-color: #555;
  color: #eee;
}
body.agency-add-page.dark-mode input:focus,
body.agency-add-page.dark-mode textarea:focus {
  border-color: #4A6FA5;
}

/* ===============================
   ELAN YERLESDIR
   =============================== */
   
.add-listing-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f8f9f7;
  padding: 5px 0px 0; 
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .add-listing-wrapper {
    padding-top: 25px;     
    padding-bottom: 25px;   
  }
}

.add-listing-card {
  background: #fff;
  width: 100%;
  max-width: 880px;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin: 0 auto;
}

.add-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .add-listing-card {
    padding: 25px 22px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  }
}

.add-listing-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  color: #5E740E;
  margin-bottom: 8px;
}

.desc {
  color: #777;
  margin-bottom: 25px;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
}

.listing-form input,
.listing-form select,
.listing-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  font-size: 15px;
  transition: all 0.25s ease;
  margin-bottom: 18px;
}

.listing-form textarea {
  resize: vertical;
  min-height: 90px;
}

.listing-form input:focus,
.listing-form select:focus,
.listing-form textarea:focus {
  border-color: #8AA624;
  box-shadow: 0 0 0 3px rgba(138,166,36,0.15);
  background: #fff;
  outline: none;
}

.flex-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.flex-row input,
.flex-row select { 
  flex: 1 1 48%;
  margin-bottom: 0; 
}

@media (max-width: 600px) {
    .flex-row {
        flex-direction: column;
        gap: 0; 
        margin-bottom: 0;
    }
    .flex-row input,
    .flex-row select {
        flex: 1 1 100%; 
        margin-bottom: 14px; 
    }
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #555;
  margin: 10px 0 20px;
}

.file-upload-box {
  border: 2px dashed #cfd9b5;
  border-radius: 10px;
  background: #f8fbf1;
  padding: 25px;
  text-align: center;
  transition: 0.3s;
}
.file-upload-box.dragover {
  background: #f3f9e5;
  border-color: #8AA624;
}
.file-upload-box label {
  font-weight: 600;
  color: #5E740E;
  display: block;
  margin-bottom: 6px;
}
.file-upload-box #preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}
.preview-img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #d9e5b1;
  transition: 0.3s;
}
.preview-img:hover {
  transform: scale(1.05);
  border-color: #8AA624;
}

.submit-btn {
  background: linear-gradient(90deg, #8AA624, #a5c832);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 3px 8px rgba(138,166,36,0.3);
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background: linear-gradient(90deg, #a5c832, #8AA624);
  box-shadow: 0 5px 14px rgba(138,166,36,0.4);
}

@media (max-width: 600px) {
  .add-listing-card h2 {
    font-size: 20px; 
  }
  .desc {
    font-size: 14px; 
  }
  .listing-form input,
  .listing-form select,
  .listing-form textarea {
    padding: 12px; 
    font-size: 16px;
    margin-bottom: 14px;
  }
  .preview-img {
    width: 75px;
    height: 75px;
  }
  .submit-btn {
    padding: 13px;
    font-size: 17px;
  }

  @media (max-width: 380px) {
      .add-listing-card {
          padding: 20px 15px; 
      }
      .file-upload-box {
          padding: 15px;
      }
  }
}

body.dark-mode .add-listing-card {
  background: #2e2e2e;
  color: #eee;
}
body.dark-mode .listing-form input,
body.dark-mode .listing-form select,
body.dark-mode .listing-form textarea {
  background: #3a3a3a;
  border-color: #555;
  color: #eee;
}
body.dark-mode .file-upload-box {
  background: #3a3a3a;
  border-color: #666;
  color: #ccc;
}

/* ===============================
   EMEKDAS ELAVE ET
=============================== */

.add-staff-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 30px 15px;
  background: #f9f9f9;
  transition: background 0.3s ease, color 0.3s ease;
}

.add-staff-card {
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  max-width: 750px;
  width: 100%;
  text-align: left;
  transition: 0.3s ease;
}
.add-staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.add-staff-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  gap: 10px;
  margin-bottom: 8px;
}
.add-staff-card .desc {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

.staff-form {
  width: 100%;
}

.staff-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.staff-form input,
.staff-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 15px;
  transition: 0.3s;
  background: #fff;
  color: #333;
}
.staff-form input:focus,
.staff-form select:focus {
  outline: none;
  border-color: #8AA624;
  box-shadow: 0 0 5px rgba(138,166,36,0.3);
}

.submit-btn {
  background: #8AA624;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: 0.3s;
}
.submit-btn:hover { background: #739d1b; }

@media (max-width: 768px) {
  .staff-form .form-grid {
    grid-template-columns: 1fr;
  }
  .add-staff-card {
    padding: 20px;
  }
}

/* ===============================
   EMEKDAS ELAVE ET - BAŞLIQ
=============================== */

.add-staff-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 5px;
  position: relative;
  letter-spacing: 0.3px;
}

.add-staff-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #8AA624;
  margin: 10px auto 0;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.add-staff-title:hover::after {
  width: 120px;
}

.add-staff-title .material-icons {
  background: #8AA624;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.add-staff-subtitle {
  text-align: center;
  color: #777;
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* ===============================
   DARK MODE TƏKMİLLƏŞDİRİLMİŞ
=============================== */

body.dark-mode {
  background: #121212;
  color: #e0e0e0;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .add-staff-wrapper {
  background: #1a1a1a;
}

body.dark-mode .add-staff-card {
  background: #1f1f1f;
  box-shadow: 0 3px 12px rgba(255,255,255,0.05);
}

body.dark-mode .add-staff-card:hover {
  box-shadow: 0 5px 14px rgba(255,255,255,0.08);
}

body.dark-mode .staff-form input,
body.dark-mode .staff-form select {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #e0e0e0;
}

body.dark-mode .staff-form input:focus,
body.dark-mode .staff-form select:focus {
  border-color: #9CCC65;
  box-shadow: 0 0 6px rgba(156,204,101,0.3);
}

body.dark-mode .submit-btn {
  background: #9CCC65;
  color: #1e1e1e;
}

body.dark-mode .submit-btn:hover {
  background: #aed581;
}

body.dark-mode .add-staff-title {
  color: #e0e0e0;
}

body.dark-mode .add-staff-title::after {
  background: #9CCC65;
}

body.dark-mode .add-staff-title .material-icons {
  background: #9CCC65;
  color: #1e1e1e;
}

body.dark-mode .add-staff-subtitle {
  color: #bdbdbd;
}


/* ==============================
   ƏMƏKDAŞ KARTLARI
============================== */

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.add-staff-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  background: #fff;
  color: #4CAF50;
  border: 1.5px solid #8AA624;
  border-radius: 6px;
  padding: 6px 12px;
  transition: 0.3s;
}
.add-staff-btn:hover { background: #8AA624; color: #fff; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.team-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.team-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* ==============================
   REDAKTƏ ET / SİL DÜYMƏLƏRİ
============================== */

.team-actions {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 10px;
}

.team-actions a,
.team-actions button {
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.25s ease;
}

.team-actions .btn-edit {
  color: #388E3C;
}

.team-actions .btn-delete {
  color: #C62828;
}

.team-actions .btn-edit:hover {
  background: rgba(56, 142, 60, 0.1);
  color: #2E7D32;
}

.team-actions .btn-delete:hover {
  background: rgba(198, 40, 40, 0.1);
  color: #B71C1C;
}

/* ==============================
   STATUS
============================== */

.status {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

.status.online { color: #4CAF50; }
.status.offline { color: #FF9800; }

/* ==============================
   MODAL STİLLƏRİ
============================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10001;
  justify-content: center;
  align-items: center;
}

.modal-box {
  position: fixed;
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  text-align: center;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-box h3 { margin-bottom: 10px; font-weight: 600; }
.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.btn-confirm {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-confirm:hover { background: #b71c1c; }
.btn-cancel {
  background: #e0e0e0;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cancel:hover { background: #ccc; }

/* ===============================
   DARK MODE
=============================== */

.dark-mode .modal-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.dark-mode .modal-box {
  background: #1e1e1e;
  color: #f5f5f5;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.dark-mode .modal-box h3 {
  color: #fff;
}

.dark-mode .btn-confirm {
  background: #d32f2f;
  color: #fff;
}

.dark-mode .btn-confirm:hover {
  background: #ff5252;
}

.dark-mode .btn-cancel {
  background: #424242;
  color: #f1f1f1;
}

.dark-mode .btn-cancel:hover {
  background: #616161;
}

/* ==============================
   DARK MODE
============================== */

body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

body.dark-mode .team-card {
  background: #1e1e1e;
  box-shadow: 0 2px 8px rgba(255,255,255,0.08);
}

body.dark-mode .team-actions .btn-edit { color: #81C784; }
body.dark-mode .team-actions .btn-delete { color: #EF9A9A; }
body.dark-mode .team-actions .btn-edit:hover {
  background: rgba(129, 199, 132, 0.15);
}

body.dark-mode .team-actions .btn-delete:hover {
  background: rgba(239, 154, 154, 0.15);
}

body.dark-mode .status.online { color: #AED581; }
body.dark-mode .status.offline { color: #FFB74D; }

/* ===============================
   ELANLARI İDARƏ ET - CƏDVƏL
=============================== */

.table-container {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: #fff;
}

/* Masaüstü görünüş */
.listing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}
.listing-table thead {
  background: #8AA624;
  color: #fff;
}
.listing-table th, .listing-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}
.listing-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  white-space: nowrap;
}
.listing-table tbody tr:hover {
  background: #f6fbe9;
}
.thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

/* Status */
.status {
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
}
.status.active { background: #e8f5e9; color: #2e7d32; }
.status.pending { background: #fff8e1; color: #ff8f00; }
.status.inactive { background: #ffebee; color: #c62828; }

/* Buttons */
.btn-edit, .btn-delete {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}
.btn-edit {
  background: #8AA624;
  color: #fff;
}
.btn-edit:hover { background: #739d1b; }
.btn-delete {
  background: #e53935;
  color: #fff;
}
.btn-delete:hover { background: #c62828; }

/* ===============================
   MOBİL GÖRÜNÜŞ (CARD LAYOUT)
=============================== */
@media (max-width: 768px) {
  .listing-table, 
  .listing-table thead, 
  .listing-table tbody, 
  .listing-table th, 
  .listing-table td, 
  .listing-table tr {
    display: block;
  }

  .listing-table thead {
    display: none; /* başlıqları gizlət */
  }

  .listing-table tr {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    padding: 12px;
  }

  .listing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5px;
    border: none;
  }

  .listing-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    flex-basis: 40%;
    text-align: left;
  }

  .thumb {
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
  }

  td[data-label="Əməliyyatlar"] {
    justify-content: center;
    gap: 10px;
  }

  .btn-edit, .btn-delete {
    width: 48%;
    text-align: center;
    font-size: 14px;
    padding: 10px;
  }
}

/* 🌙 DARK MODE */
body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}
body.dark-mode .table-container {
  background: #1e1e1e;
  box-shadow: 0 3px 10px rgba(255,255,255,0.05);
}
body.dark-mode .listing-table {
  background: #1f1f1f;
}
body.dark-mode .listing-table thead {
  background: #9CCC65;
  color: #1e1e1e;
}
body.dark-mode .listing-table tbody tr:hover {
  background: #263238;
}
body.dark-mode .btn-edit {
  background: #9CCC65;
  color: #1e1e1e;
}
body.dark-mode .btn-delete {
  background: #ef5350;
  color: #1e1e1e;
}
body.dark-mode .listing-table td::before {
  color: #bdbdbd;
}

/* ===============================
   ELAN REDAKTƏ ET SƏHİFƏSİ
=============================== */
.edit-listing-wrapper {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.edit-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 26px;
  color: #333;
  margin-bottom: 8px;
}
.edit-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}
.alert.success {
  background: #e6f4ea;
  border-left: 5px solid #4caf50;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500;
}

/* Form grid */
.edit-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.edit-form label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}
.edit-form input,
.edit-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.3s;
}
.edit-form input:focus,
.edit-form select:focus {
  outline: none;
  border-color: #8AA624;
  box-shadow: 0 0 5px rgba(138,166,36,0.3);
}

/* Şəkil bölməsi */
.image-section {
  margin-top: 25px;
}
.current-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
}

/* Yadda saxla düyməsi */
.save-btn {
  margin-top: 25px;
  width: 100%;
  background: #8AA624;
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.save-btn:hover {
  background: #739d1b;
  transform: translateY(-2px);
}

/* ===============================
   MOBİL DƏSTƏK
=============================== */
@media (max-width: 768px) {
  .edit-form .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 🌙 DARK MODE */
body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}
body.dark-mode .edit-listing-wrapper {
  background: #1f1f1f;
  box-shadow: 0 4px 12px rgba(255,255,255,0.05);
}
body.dark-mode .edit-form input,
body.dark-mode .edit-form select {
  background: #2b2b2b;
  border: 1px solid #444;
  color: #e0e0e0;
}
body.dark-mode .edit-form input:focus,
body.dark-mode .edit-form select:focus {
  border-color: #9CCC65;
  box-shadow: 0 0 5px rgba(156,204,101,0.3);
}
body.dark-mode .save-btn {
  background: #9CCC65;
  color: #1e1e1e;
}
body.dark-mode .save-btn:hover {
  background: #AED581;
}
body.dark-mode .alert.success {
  background: #263238;
  color: #9CCC65;
  border-left-color: #9CCC65;
}


