/* 🌆 General Page Styling */
body, .oio-page {
  font-family: 'Roboto', sans-serif;
}
.oio-page {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 650px;
  margin: 30px auto;
}

/* 🎥 Latest Requests List */
.oio-latest ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.oio-latest li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.req-thumb {
  width: 45px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.movie-info {
  display: flex;
  flex-direction: column;
}
.movie-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.movie-info a {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.movie-info a:hover {
  text-decoration: underline;
}
.status {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: capitalize;
}
.status.Pending {
  background: #fff3cd;
  color: #856404;
}
.status.Noted {
  background: #d4edda;
  color: #155724;
}
.status.Added {
  background: #cce5ff;
  color: #004085;
}

/* 🎬 Added movies → show your site link blue */
.movie-line a[href*="oio.lk"] {
  color: #0077ff;
  font-weight: 600;
}
.movie-line a[href*="oio.lk"]:hover {
  text-decoration: underline;
}
.oio-by {
  color: #666;
  font-size: 13px;
}

/* 🧾 Request Form */
.oio-form {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.oio-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: border .2s;
}
.oio-form input:focus {
  outline: none;
  border-color: #0077ff;
  box-shadow: 0 0 5px rgba(0,119,255,0.2);
}
.oio-form button {
  background: #ececec;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.oio-form button:hover {
  background: #dcdcdc;
}
.oio-success {
  color: #00C853;
  margin-top: 6px;
}
.oio-error {
  color: #D50000;
  margin-top: 6px;
}

/* 🖼 IMDb Preview Mini Box */
.imdb-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
  max-width: 320px;
}
.imdb-fav {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 🏆 Top Requesters — Light Transparent Edition */
.oio-top {
  margin-top: 25px;
  padding: 18px;
  border-radius: 14px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  color: #111;
}
.oio-top h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}
.oio-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.oio-top li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.oio-top li:last-child {
  border-bottom: none;
}

/* 🥇 Rank + Count + Name */
.oio-top li span.rank {
  font-size: 17px;
  width: 25px;
  text-align: center;
}
.oio-top li .req-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.oio-top li .count {
  font-size: 13px;
  color: #856404;
  background: #fff3cd;
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 600;
}

/* 🎨 Rank Text Colors */
.oio-top li:nth-child(1) b {
  color: #c69300;
}
.oio-top li:nth-child(2) b {
  color: #757575;
}
.oio-top li:nth-child(3) b {
  color: #a05a2c;
}

/* ✨ Fade animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(5px);}
  to {opacity: 1; transform: translateY(0);}
}

/* 📱 Responsive adjustments */
@media (max-width: 480px) {
  .oio-page {padding: 16px;}
  .req-thumb {width: 40px; height: 55px;}
  .oio-top li {font-size: 13px;}
}
