/* Global Reset */
body {
    background-color: #f7f9fc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Container */
.container {
    background: #fff;
    padding: 30px 20px;  /* Sağ ve soldan 20px padding ekledik */
    margin: 20px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: justify;
}



/* Emoji Buttons */
.thread-emoji-buttons, .comment-emoji-buttons, .share-buttons, .rating-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  
}


.thread-emoji-buttons button, .comment-emoji-buttons button, 
.share-buttons button, .rating-buttons button, .emoji-toggle button{
    background-color: #fff;
    color: red;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.thread-emoji-buttons button:hover, .comment-emoji-buttons button:hover, .share-buttons button:hover, .rating-buttons button:hover {
    
    color: white;
    transform: scale(1.05);
}

/* Initially hide share buttons */
.share-buttons {
    display: none;  /* Sayfa ilk açıldığında share butonları gizli olacak */
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pagination button {
    padding: 10px 18px;
    border-radius: 8px;
    background-color: #5c6bc0;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background-color: #3f51b5;
    transform: scale(1.05);
}

/* User Info */
.author-info, .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    max-height: 50px;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.author-info img, .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.text-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

.text-info span {
    display: block;
    font-size: 14px;
    color: #777;
}

.author-info .text-info .name, .user-info .text-info .name {
    font-size: 16px;
    font-weight: 600;
    color: #3f51b5;
}

button {
    background-color: rgba(253, 209, 153, 0.5);
    color: #fff;
    border: 1px solid;
    
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.1s;
    }
    
    button:hover {
    background-color: rgba(253, 209, 153, 0.7);
    
    }

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Video Title */
.video-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #3f51b5;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .author-info, .user-info {
        flex-direction: row;
        align-items: center;
    }

    .author-info .text-info, .user-info .text-info {
        text-align: center;
    }

    .author-info .text-info .date, .user-info .text-info .date {
        order: 1;
    }

    .author-info .text-info .name, .user-info .text-info .name {
        order: 2;
    }

    .author-info img, .user-info img {
        order: 0;
    }

    .pagination button {
        padding: 10px 15px;
    }
}
