.bigbet-tracker-item{
    margin-bottom: 50px;
    border-bottom: 1px solid #213743;
    padding-bottom: 30px;
}
/* 전체 컨테이너 */
.betting-container {
    display: flex;
    gap: 30px;
    padding: 20px;
    color: white;
}

/* 왼쪽 패널: 베팅 정보 */
.betting-info {
    flex: 2;
}

.sports-header{
    padding: 20px;
    border-radius: 15px;
    background: #1A2C38;
}
.sports-header h2 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 24px;
    text-align: center;
}

.bet-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bet-id span {
    font-weight: bold;
    color: white;
}

.copy-btn, .link-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.bet-status {
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
    text-align: center;
}

.bet-date {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.game-separator {
    text-align: left;
    margin: 20px 0;
    padding: 10px;
    background: #2F4553;
    border-radius: 6px;
    color: white;
    font-weight: bold;
}

.game-entries {
    margin-bottom: 20px;
}

.game-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #0f3460;
}

.game-entry:last-child {
    border-bottom: none;
}

.game-circle {
    width: 12px;
    height: 12px;
    background: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.game-details {
    flex: 1;
}

.teams {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 7px;
    color: #fff;
}

.bet-type {
    color: white;
    font-size: 14px;
    margin-bottom: 7px;
}

.selection {
    color: white;
    font-size: 14px;
    margin-bottom: 7px;
}

.game-score {
    border: 1px solid #D9D9D9;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

.game-odds {
    color: white;
    font-weight: bold;
    font-size: 15px;
    min-width: 50px;
    text-align: right;
}

.betting-summary {
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .label {
    color: white;
}

.summary-item .value {
    color: white;
    font-weight: bold;
}

.betting-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.follow-betting-btn {
    background: #1475E1;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 50%;
    text-align: center;
    text-decoration: none;
}

.follow-betting-btn:hover {
    background: #4d98ed;
}

.share-btn {
    background: #1475E1;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 70px;
}

.share-btn:hover {
    background: #4d98ed;
}

/* 오른쪽 패널: 댓글 섹션 */
.comments-section {
    flex: 1;
}
.comments-section-inner{
    background: #1A2C38;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: relative;
}

.comments-section h3 {
    margin: 0 0 20px 0;
    color: white;
    font-size: 20px;
}

.comment-input {
    margin-bottom: 20px;
}
.comment-input textarea{
    width: 100%;
    height: 60px;
    background: #0F212E;
    border: none;
    padding: 10px;
    resize: none;
}

.comment-field {
    width: 100%;
    background: #0F212E;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
}

.comment-field::placeholder {
    color: white;
}

.register-btn-area{
    display: flex;
    justify-content: flex-end;
}

.register-btn {
    background: #0F212E;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
}

.comments-list {
    /* margin-bottom: 20px; */
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #0f3460;
}
.comment-item.reply.depth-1{
    padding-left: 20px;
}
.comment-item.reply.depth-2{
    padding-left: 40px;
}
.comment-item.reply.depth-3{
    padding-left: 60px;
}
.comment-item.reply.depth-4{
    padding-left: 80px;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.username {
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.username .nickname{
    font-size: 14px;
}

.timestamp {
    color: white;
    font-size: 12px;
}

.comment-text {
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 14px;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: #0F212E;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #818181;
    cursor: pointer;
    font-size: 12px;
}

.bottom-input {
    margin-bottom: 0;
}
div#comments-list{
    padding-bottom: 30px;
}
.comment-reply{
    display: none;
}
.comment-page-navigation{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
    position: absolute;
    bottom: 30px;
    left: 0;
}
.time-label{
    color: #fff;
    font-weight: bold;
    padding-right: 5px;
}
.time{
    color: #fff;
}

/* 댓글 수정 모드 스타일 */
.comment-editing {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.comment-edit-field {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #4A5568;
    border-radius: 5px;
    background-color: #2D3748;
    color: white;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.comment-edit-field:focus {
    outline: none;
    border-color: #63B3ED;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.save-btn {
    background-color: #286541;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

.save-btn:hover {
    background-color: #38A169;
}

.cancel-btn {
    background-color: #832424;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-btn:hover {
    background-color: #C53030;
}
.comment-profile-image{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.comment-profile-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
    .betting-container {
        flex-direction: column;
    }
    
    .betting-info, .comments-section {
        flex: none;
    }
}
@media (max-width: 480px) {
    .follow-betting-btn{
        width: 90%;
    }
    .share-btn{
        width: 20%;
    }
}