@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
    max-width: 893px;
}
#main_div {
    width: 100%;
    height: 520px;
    background: linear-gradient(rgb(149, 157, 159) 0%, rgb(240, 241, 242) 100%);
    position: relative;
    border-radius: 12px;
    padding: 12px 16px;
}
.top_list {
    width: calc(100% - 48px);
    background: white;
    border-radius: 4px;
    padding-right: 40px;
    position: relative;
    height: 40px;
}
.button_icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 4px;
    background: white;
}
.flex {
    display: flex;
}
.space-between {
    justify-content: space-between;
}
.tab_body div.button {
    width: 50%;
    height: 47px;
    text-align: center;
    cursor: pointer;
    line-height: 47px;
}
#timerCanvas {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background: transparent;
}
.start_stop {
    background-image: linear-gradient(90deg, #24ee89, #9fe871);
    box-shadow: 0 0 12px #23ee884d, 0 -2px #1dca6a inset;
    width: 380px;
    height: 50px;
    border-radius: 4px;
    text-align: center;
    line-height: 50px;
    color: black;
    margin: auto;
    font-weight: bold;
    cursor: pointer;
}

/* 결과 히스토리 */
.item-body {
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
    height: 100%;
    cursor: pointer;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}
.item-body.show {
    transform: translateX(0);
    opacity: 1;
}
.item-body.fade-out {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}
.item-group {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 4px;
    overflow: hidden;
}
.round-num {
    width: 100%;
    font-size: 12px;
    color: #92a0a0;
}

/* 색상 */
.text-warning {
    color: #f9a825;
}
.bg-warning {
    background-color: #f9a825;
}
.text-danger {
    color: #e53935;
}
.bg-danger {
    background-color: #e53935;
}
.text-success {
    color: #43a047;
}
.bg-success {
    background-color: #43a047;
}
.bet-panel {
    margin: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    text-align: center;
}
.bet-panel input {
    width: 120px;
    padding: 5px;
    margin-right: 10px;
}
.bet-panel button {
    padding: 5px 10px;
    cursor: pointer;
}
#betStatus {
    margin-top: 8px;
    font-weight: bold;
}
.user-panel {
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
}
.bet-panel {
    margin: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    text-align: center;
}
.bet-panel input {
    width: 120px;
    padding: 5px;
    margin-right: 10px;
}
.bet-panel button {
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
}
#betStatus {
    margin-top: 8px;
    font-weight: bold;
}
