* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  /* background: linear-gradient(to right, #2d787a, #8323af, #d88efa);*/
  background-image: url('colorkit (2).png');
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.header-button {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 12px;
  border: none;
  background-color: rgba(196, 196, 196, 0.336);
  color: white;
  cursor: pointer;
}

.header-left h2 {
  color: white;
  letter-spacing: 1.5px;
}

.header-right ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.header-right ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.header-right ul li a:hover {
  color: #a3a3a3;
}

main {
  flex: 1;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wrapper > div:first-child h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.wrapper > div:nth-child(2) p {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 1rem;
}

.status {
  background-color: rgba(128, 128, 128, 0.274);
  padding: 20px;
  border-radius: 20px;
  width: 260px;
}

.status h3 {
  font-weight: 600;
  color: #4caf50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-containers {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.top-container1,
.top-container2 {
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 1.5rem;
  flex: 1 1 300px;
  text-align: center;
}

.top-container1 h3,
.top-container2 h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.top-container1 p,
.top-container2 p {
  color: #ccc;
}

button {
  background-color: rgba(201, 201, 201, 0.24);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

button:hover {
  background-color: rgba(133, 133, 133, 0.24);
}

footer {
  background-color: transparent;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left p {
  color: #888;
}

.footer-right a {
  color: #e0e0e0;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-right a:first-child {
  margin-left: 0;
}

.footer-right a:hover {
  color: #a3a3a3;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  .header-right ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-containers {
    flex-direction: column;
    gap: 1rem;
  }
  footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.auth-container {
  background-color: rgba(30, 30, 30, 0.85);
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  margin: 4rem auto;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.auth-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #d1badb;
  font-size: 1.8rem;
}

.auth-container input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
}

.auth-container input::placeholder {
  color: #ccc;
}

.auth-container button {
  background-color: rgba(201, 201, 201, 0.24);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  padding: 0.75rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.auth-container button:hover {
  background-color: rgba(133, 133, 133, 0.24);
}

.auth-container .toggle {
  margin-top: 1rem;
  text-align: center;
  color: #d1badb;
  cursor: pointer;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.auth-container .toggle:hover {
  color: #fff;
}

.auth-container #msg {
  margin-top: 1rem;
  color: #f87171;
  text-align: center;
}

.admin-page label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.admin-page input[type="text"],
.admin-page textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background-color: #222;
  color: #eee;
  resize: vertical;
}

.admin-page textarea {
  min-height: 120px;
}

.admin-page button {
  margin-top: 1.2rem;
  padding: 12px 25px;
  background-color: #00bcd4;
  border: none;
  border-radius: 6px;
  color: #121212;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.admin-page button:hover {
  background-color: #0097a7;
}

.admin-page #status-msg {
  margin-top: 1rem;
  font-weight: 600;
}

.admin-page #notifications-list {
  margin-top: 2rem;
  border: 1px solid #444;
  border-radius: 6px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  background-color: #222;
}

.admin-page #notifications-list li {
  list-style: none;
  padding: 10px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #eee;
}

.admin-page #notifications-list li:last-child {
  border-bottom: none;
}

.admin-page .delete-btn {
  background-color: #c0392b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.admin-page .delete-btn:hover {
  background-color: #e74c3c;
}

.download-page {
  background: #121212;
  color: #eee;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.download-page * {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

.download-page h1 {
  color: #00bcd4;
  margin-bottom: 2rem;
  text-align: center;
}

.download-page .download-list {
  width: 100%;
  max-width: 600px;
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.download-page .download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.download-page .download-item:last-child {
  border-bottom: none;
}

.download-page .file-info {
  max-width: 70%;
}

.download-page .file-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #00bcd4;
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.download-page .file-desc {
  font-size: 0.9rem;
  color: #bbb;
}

.download-page .file-size {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
}

.download-page .download-btn {
  background-color: #00bcd4;
  color: #121212;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.download-page .download-btn:hover,
.download-page .download-btn:focus {
  background-color: #0097a7;
  color: #fff;
  outline: none;
}

@media (max-width: 480px) {
  .download-page .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .download-page .file-info {
    max-width: 100%;
  }

  .download-page .download-btn {
    width: 100%;
    text-align: center;
  }
}

