@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');


[href="https://saraahah.com/auth/facebook"]{

display:none !important;
}

:root {
  --black-900: #1a1a1a;
  --black-800: #333;
  --black-700: #4d4d4d;
  --black-500: #808080;
  --black-100: #e5e5e5;
  --black-50: #f2f2f2;
  --white: #fff;
  --saraha-bg: #f7fafa;
  --saraha-primary: #2e69e0;
  --saraha-dark-primary: #0d121c;
  --saraha-footer-bg: #0c0909;
  --saraha-footer-text: #d5e3ff;
  --saraha-footer-text-light: #d7e4ff;
  --color-background-body: #f7fafc;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: 500;
    font-family: "Cairo", sans-serif !important;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background-body);
  color: var(--saraha-dark-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

  .ad-container {
    margin: 30px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
    text-align: center;
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
  }

.ad-container iframe,
.ad-container ins,
.ad-container > div {
  max-width: 100%;
  display: inline-block;
  margin: auto;
}

@media (max-width: 768px) {
  .ad-container {
    padding: 10px;
  }
}




a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--black-100);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 55px;
  height: 55px;
}

.logo-text {
  font-size: 23px;
  font-weight: 700;
  color: var(--saraha-dark-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item:hover {
  color: var(--saraha-primary);
}

.nav-item a {
  font-size: 14px;
  font-weight: 500;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.auth-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-item:hover {
  color: var(--saraha-primary);
}

.auth-item span {
  font-size: 14px;
  font-weight: 500;
}

.auth-item svg {
  width: 22px;
  height: 22px;
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 16px;
}

.notification-wrapper {
  position: relative;
}

.notification-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #e8edf2;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: red;
  color: var(--white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 9999px;
  font-weight: bold;
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

.user-dropdown {
  position: relative;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

/* Dropdown menus */
.dropdown-menu, .notification-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--black-100);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  min-width: 180px;
  z-index: 1000;
  display: none;
}

.user-dropdown:hover .dropdown-menu,
.notification-wrapper:hover .notification-menu {
  display: block;
}

.dropdown-menu {
  padding: 0.6rem;
}

.username {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.logout-btn {
  width: 100%;
  background: var(--saraha-primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.logout-btn:hover {
  background: #1e50b3;
}

/* Notification menu content */
.notification-menu {
  width: 250px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.notif-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.notif-item:hover {
  background: var(--black-50);
}

.notif-avatar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 8px;
}

.notif-content {
  flex: 1;
  text-align: right;
}

.notif-text {
  font-size: 13px;
}

.notif-time {
  font-size: 11px;
  color: #888;
}

.no-notif {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 10px;
}

/* Footer */
.footer {

  background: var(--saraha-footer-bg);
}

.footer-content {
  padding: 2rem 1.2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links span {
  font-size: 15px;
  color: var(--saraha-footer-text);
  cursor: pointer;
  transition: opacity 0.2s;
}

.footer-links span:hover {
  opacity: 0.8;
}

.footer-copyright {
  font-size: 14px;
  color: var(--saraha-footer-text-light);
}

/* Responsive */
@media (max-width: 992px) {
  .logo-text { font-size: 20px; }
  .nav { gap: 1rem; }
  .auth-buttons { gap: 0.8rem; }
}

@media (max-width: 768px) {
  .nav { gap: 0.8rem; }
  .logo-text { font-size: 18px; }
  .header-actions { gap: 10px; }
  .auth-item span {
    font-size: 9px;
    font-weight: 500;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 0.5rem; }
  .header-content { padding: 0 0.5rem; }
  .logo-img { width: 35px; height: 35px; }
  .logo-text { font-size: 16px; }
  .nav { gap: 0.4rem; }
}

/* Hamburger Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile nav open */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 200px;
    border-left: 1px solid var(--black-100);
    border-bottom: 1px solid var(--black-100);
    display: none;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--black-100);
  }

  .nav-item a {
    font-size: 15px;
    font-weight: 500;
  }
}
