:root {
  --primary: #4361ee;
  --secondary: #3a0ca3;
  --accent: #4cc9f0;
  --dark: #1e1e2c;
  --light: #f8f9fa;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: var(--light);
  line-height: 1.6;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.1) 0%, transparent 25%);
  position: relative;
  backdrop-filter: blur(5px);
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../static/pic9.jpg');
  background-size: cover;
  background-position:center;
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  z-index: -3;

}

.container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}


header {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 32px;
  filter: drop-shadow(0 0 5px rgba(76, 201, 240, 0.5));
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--light);
  z-index: 1001;

}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);

}

nav ul li a:hover {
  background: rgba(29, 66, 236, 0.4); 
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--accent);
  /* box-shadow: 0 0 15px rgba(76, 201, 240, 0.3); */

}



nav ul li a i {
  margin-right: 8;
  font-size: 18px;
}

.close-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--light);
  z-index: 1002;

}


main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 100%; */
}
/**//**//**//**//**//**//**//**/
.glass-container {
  width: 100%;
  max-width: 800px;
  padding: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  margin: 20px 0 40px;
}

.glass-container h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
}

.glass-frame {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.glass-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.glass-frame p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.glass-frame a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.glass-frame a:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(76, 201, 240, 0.5);
}

.rtl {
  direction: rtl;
  text-align: right;
}

.hero {
  width: 100%;
  max-width: 700px;
  text-align: center;
  padding: 60px 40px;
  /* background: var(--glass); */
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  margin: 20px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.3;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(to right, #f8f9fa, #c5d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(5px);
  color: var(--light);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 
    0 0 0 3px rgba(76, 201, 240, 0.3),
    inset 0 0 10px rgba(0,0,0,0.1);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box button {
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 5px 20px rgba(67, 97, 238, 0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box button:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(67, 97, 238, 0.5),
    inset 0 0 10px rgba(255,255,255,0.2);
}

.search-box button:active {
  transform: translateY(1px);
}

.results {
  width: 100%;
  max-width: 800px;
  text-align: center;
  padding: 40px 30px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  margin: 30px 0;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.results.visible {
  opacity: 1;
  height: auto;
  padding: 40px 30px;
}

.results h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.delete-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: rgba(231, 76, 60, 0.2);
  backdrop-filter: blur(5px);
  color: var(--light);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(231, 76, 60, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.delete-btn:hover {
  background: rgba(231, 76, 60, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
  background: rgba(67, 97, 238, 0.25);
  padding: 18px;
  text-align: left;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(76, 201, 240, 0.3);
}

table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

footer {
  text-align: center;
  padding: 25px;
  margin-top: auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  width: 100%;
}

footer p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass-container {
  animation: fadeIn 0.8s ease-out forwards;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(30, 30, 44, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  max-width: 350px;
}

.notification.success {
  border-left: 4px solid #4ade80;
}

.notification.error {
  border-left: 4px solid #f87171;
}

.notification i {
  font-size: 20px;
}

.notification.success i {
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.notification.error i {
  color: #f87171;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 998;
  cursor: pointer;
}

@media (max-width: 768px) {
  body {
    /* padding: 100px; */
  }
  
  header {
    padding: 15px 20px;
  }

  .hamburger {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;

    background: rgba(30, 30, 44, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius:10px;
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    width: 100%;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: flex;
    text-align: left;
    padding: 15px 20px;
    background: rgba(13, 41, 165, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2); 
    border-radius: 12px;
    font-size: 18px;
  }



  /* .close-btn {
    display: flex;
  } */

  .hero, .glass-container {
    padding: 40px 25px;
  }

  .hero h1, .glass-container h1 {
    font-size: 2.2rem;
  }

  .hero p, .glass-frame p {
    font-size: 1.1rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input,
  .search-box button {
    width: 100%;
  }

  .results-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .glass-frame {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero, .glass-container {
    padding: 30px 20px;
  }

  .hero h1, .glass-container h1 {
    font-size: 1.8rem;
  }

  table th, table td {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .search-box button {
    padding: 16px;
  }
  
  .glass-frame {
    padding: 15px;
  }
}