
/* Layout for player page */
.player-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 1024px) {
    .player-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main content area */
.main-content {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Video details */
.video-details {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    background-color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-details h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
}

/* Video actions */
.video-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background-color: #f5f5f5;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #e5e5e5;
}

.action-btn.active {
    background-color: #f00060;
    color: #fff;
}

.like-form, .dislike-form {
    display: inline;
}

/* Modal dialogs */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: #333;
    color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #555;
}

/* Share dialog */
.share-options {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

.share-options input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.share-options button {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.twitter {
    background-color: #1da1f2;
}

.social-btn.whatsapp {
    background-color: #25d366;
}

.social-btn.telegram {
    background-color: #0088cc;
}

/* Report form */
.report-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 500;
    color: #fff;
}

.form-group select,
.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background-color: #333;
    color: #fff;
    width: 95%;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #f00060;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #99023f;
}

/* Comments section */
.comments-section {
    margin-top: 30px;
}

.comments-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    background-color: #333;
    color: #fff;
}

.comment-form {
    margin-bottom: 20px;
    background-color: #333;
    color: #fff;
}


.comment-form textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-family: inherit;
}

.comments-list {
    margin-top: 25px;
}

.comment {
    padding: 15px;
    border-radius: 8px;
    background-color: #161515;
    color: #e5e5e5;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.username {
    font-weight: 600;
    color: #e6e4e4;
}

.date {
    font-size: 0.8rem;
    color: #e6e4e4;
}

.comment-body {
    color: #e6e4e4;
    line-height: 1.5;
}

.no-comments {
    color: #777;
    font-style: italic;
}

/* Success message */
.success-message {
    padding: 15px;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Sidebar */
.sidebar {
    width: 100%;
}

.more-videos {
    padding: 20px;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.more-videos h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fa0466;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

@media (max-width: 1023px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.thumbnail {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.thumbnail .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail .play-overlay i {
    color: white;
    font-size: 2rem;
    opacity: 0.8;
}

.video-card:hover .thumbnail img {
    transform: scale(1.1);
}

.video-card:hover .thumbnail .play-overlay {
    opacity: 1;
}

.video-title {
    padding: 10px;
    font-size: 0.9rem;
    color: #fff;
    overflow: visible;
    white-space: normal;
}

.video-title:hover {
    color: #f00060;
}


.no-videos {
    color: #777;
    font-style: italic;
    padding: 20px 0;
    text-align: center;
}

/* Back link */
.back-link {
    margin-top: 20px;
    text-align: center;
}

.back-link a {
    color: #fa0466;
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    color:rgb(241, 241, 241);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .action-buttons {
        justify-content: center;
    }
    
    .modal-content {
        width: 80%;
        margin: 10% auto;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

.load-more-comments a {
    display: inline-block;
    padding: 10px 20px;
    width: 75px;
    height: 19px;
    background-color: #fa0466; /* Use the specified color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
  }
  
  .load-more-comments a:hover {
    background-color: #99023f; /* A slightly darker shade for hover */
  }
  
  .load-more-comments {
    text-align: right; /* Center the link */
    margin-top: 15px; /* Add some spacing above */
  }