/* General Container Styling */
.awpt-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.awpt-telegram-banner {
	display: flex;
	align-items: center;
	background: linear-gradient(to bottom, #4682b4, #f1f1f1); /* Blue to light background */
	padding: 15px 20px;
	border-radius: 8px;
	font-family: inherit;
	margin-bottom:10px;
}

.awpt-telegram-icon img {
	width: 50px;
	height: 50px;
	margin-right: 30px;
}

.awpt-telegram-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.awpt-telegram-text p {
	margin: 4px 0 0;
	font-style: italic;
	font-size: 13px;
	font-weight: bold;
}

.awpt-telegram-text a {
	color: #1d4ed8; /* Matching blue link */
	text-decoration: none;
}

.awpt-telegram-text a:hover {
	text-decoration: underline;
}

/* Movie & Series Title */
.awpt-movie-title, .awpt-series-title {
    text-align: center;
    font-size: 24px;
	font-weight:bold;
}

/* Thumbnails */
.awpt-movie-thumbnail, .awpt-series-thumbnail {
    text-align: center;
	margin-bottom: 15px;
}

.awpt-movie-thumbnail img, .awpt-series-thumbnail img {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
}

/* Details Section */
.awpt-movie-details, .awpt-series-details {
    background: #eee;
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
}

/* Download Button */
.awpt-download-btn {
    display: block;
    text-align: center;
    background: #28a745;
    color: white;
    padding: 10px;
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0;
    border-radius: 5px;
}

.awpt-download-btn:hover {
    background: #218838;
}

/* Episode List */
.awpt-episode-list {
    margin-top: 20px;
}

.awpt-episode-list h3 {
    font-size: 20px;
    color: #333;
}

.awpt-episode-list p {
    margin: 5px 0;
}

.awpt-episode-link {
    display: block;
    padding: 8px 15px;
    text-align: center;
    font-size: 18px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.awpt-episode-link:hover {
    background: #0056b3;
}

/* Additional Info */
.awpt-additional-info {
    font-style: italic;
    color: red;
}

/* Archive Container */
.awpt-archive-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: white;
}

/* Archive Title */
.awpt-archive-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
}

/* Grid Layout */
.awpt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    justify-content: center;
}

/* Movie Card */
.awpt-movie-card {
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.awpt-movie-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

.awpt-movie-card h3 {
    font-size: 18px;
    padding: 10px;
    color: #333;
}

/* Pagination */
.awpt-pagination-old {
    text-align: center;
    margin: 20px 0;
}

.awpt-pagination a-old {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.awpt-pagination a:hover {
    background: #0056b3;
}

.awpt-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.awpt-video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.awpt-footer-button {
  display: flex;
  justify-content: center;
  gap: 20px; /* space between buttons */
  margin: 10px 0;
}

.awpt-footer-button h3 {
  margin: 0;
}

.awpt-footer-button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #19496d; /* Bootstrap blue */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 12px;
  transition: background-color 0.3s;
}

.awpt-footer-button a:hover {
  background-color: #0056b3;
}

.awpt-footer-notice {
  font-size: 14px;
  color: red;
  text-align: left;
  padding: 5px 10px;
}