body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Microsoft YaHei", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
        "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
        monospace;
}

.logo {
    background-size: 130px, 30px;
    width: 130px;
    height: 30px;
    /*background: rgba(0, 0, 0, 0.2);*/
    margin: 17px 10px 16px 10px;
    float: left;
}

.ant-table.ant-table-middle .ant-table-title,
.ant-table.ant-table-middle .ant-table-footer,
.ant-table.ant-table-middle thead > tr > th,
.ant-table.ant-table-middle tbody > tr > td {
    padding: 1px 8px !important;
}

.ant-list-sm .ant-list-item {
    padding: 2px !important;
}

.highlight-row {
    background: rgb(249, 198, 205);
}

.alert-row {
    background: rgba(92, 48, 125, 0.55);
}

/* http://react-china.org/t/topic/33846/3 */
.ant-table-header {
    scrollbar-color: transparent transparent;
}
.ant-table-header::-webkit-scrollbar {
    background-color: transparent;
}

.import-output {
    height: 500px;
}

.App {
    padding: 20px;
}

.red-row {
    background: #ffccc7;
}

.yellow-row {
    background: #ffffb8;
}

.green-row {
    background: #d9f7be;
}

.ant-list-item:hover {
    box-shadow: 0 0 4px #888;
}

/*https://stackoverflow.com/questions/64961752/how-do-i-change-the-color-of-selected-menu-item-in-ant-design*/
/*.conferenceMenu > .ant-menu-item-selected {*/
/*  background-color: rgb(230,247,255) !important;*/
/*}*/

.conferenceMenu {
    background-color: rgb(242, 242, 242) !important;
}

.react-codemirror2 {
    width: 100%;
    height: 100%;
    position: relative;
}

.anticon-file {
    visibility: hidden;
}
/* 默认字体 具体可能需要修改 */
#editor {
    font-family: "Microsoft-YaHei";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="SimSun"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="SimSun"]::before {
    content: "宋体";
    font-family: "SimSun";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="SimHei"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="SimHei"]::before {
    content: "黑体";
    font-family: "SimHei";
}
.ql-snow
    .ql-picker.ql-font
    .ql-picker-label[data-value="Microsoft-YaHei"]::before,
.ql-snow
    .ql-picker.ql-font
    .ql-picker-item[data-value="Microsoft-YaHei"]::before {
    content: "微软雅黑";
    font-family: "Microsoft YaHei";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="consolas"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="consolas"]::before {
    content: "consolas";
    font-family: "consolas";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="KaiTi"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="KaiTi"]::before {
    content: "楷体";
    font-family: "KaiTi";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="FangSong"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="FangSong"]::before {
    content: "仿宋";
    font-family: "FangSong";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Arial"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Arial"]::before {
    content: "Arial";
    font-family: "Arial";
}
.ql-snow
    .ql-picker.ql-font
    .ql-picker-label[data-value="Times-New-Roman"]::before,
.ql-snow
    .ql-picker.ql-font
    .ql-picker-item[data-value="Times-New-Roman"]::before {
    content: "New Roman";
    font-family: "Times New Roman";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="sans-serif"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="sans-serif"]::before {
    content: "sans-serif";
    font-family: "sans-serif";
}

.ql-font-SimSun {
    font-family: "SimSun";
}
.ql-font-SimHei {
    font-family: "SimHei";
}
.ql-font-Microsoft-YaHei {
    font-family: "Microsoft YaHei";
}
.ql-font-KaiTi {
    font-family: "KaiTi";
}
.ql-font-FangSong {
    font-family: "FangSong";
}
.ql-font-Arial {
    font-family: "Arial";
}
.ql-font-Times-New-Roman {
    font-family: "Times New Roman";
}
.ql-font-sans-serif {
    font-family: "sans-serif";
}
.ql-font-consolas {
    font-family: "consolas";
}
.shareable-url-login-page {
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    overflow: auto;
    display: flex;
    align-items: center;
    background-color: white;
    box-sizing: border-box;
}

.shareable-url-login-container {
    width: 350px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    padding: 1.5em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 1rem;
}

.bastion-logo {
    width: 3em;
    height: 3em;
    background-size: 3em 3em;
    background-position: center;
    margin: 0.5em auto;
}

.bastion-appName {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.25em;
    color: black;
    padding: 0.3em 0;
    user-select: none;
    font-family: Carlito, FreeSans, Helvetica, Arial, sans-serif;
}

.loginButton {
    background-color: #1890ff;
    border-color: #1890ff;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 24px;
    border-radius: 4px;
    margin-top: 0.45em;
    transition: background-color 0.3s ease;
}

.shareable-url-login-form {
    font-size: 14px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.shareable-url-login-form .ant-form-item-label > label {
    font-size: 14px;
    margin-bottom: 1px !important;
    color: rgba(96, 96, 96, 1);
}

.ant-form-item-label {
    padding: 0 !important;
}

.ant-form-item {
    margin-bottom: 6px;
}

.shareable-url-login-form .ant-input,
.shareable-url-login-form .ant-select,
.shareable-url-login-form .ant-select-selector,
.shareable-url-login-form .ant-input-password,
.shareable-url-login-form .ant-input-number {
    font-size: 14px;
}

.shareable-url-login-form .ant-select-selection-item {
    font-size: 14px !important; /* Dropdown values */
}

.ant-select-dropdown .ant-select-item {
    font-size: 14px; /* Dropdown options */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* File Upload component styling */
.shareable-url-login-form .ant-upload-wrapper,
.shareable-url-login-form .ant-upload-wrapper .ant-upload-select,
.shareable-url-login-form .ant-upload-wrapper .ant-upload-select-picture-card {
    width: 100% !important;
}

.shareable-url-login-form .ant-upload-wrapper .ant-btn {
    width: 100% !important;
}
.main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container {
    overflow: hidden;
    display: flex;
    flex: 1;
    background-color: #1b1b1b;
}

.skuUpgradeBanner a {
    color: lightskyblue;
}

.skuUpgradeBanner {
    width: 100%;
    background-color: dimgray;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    z-index: 10;
    transition: opacity 0.5s ease;
}
.Spinner {
    display: flex;
    justify-content: center;
}
.seek-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    text-align: center;
    color: white;
}

.circular-progress-wrapper {
    position: relative;
    display: inline-block;
}

/* Ant Design Progress component styling */
.circular-progress-wrapper .ant-progress-text {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.circular-progress-wrapper .ant-progress-circle .ant-progress-text {
    fill: white !important;
}

/* Progress circle colors */
.circular-progress-wrapper .ant-progress-circle-path {
    stroke: #1890ff !important;
    stroke-width: 7px !important;
}

.circular-progress-wrapper .ant-progress-circle-trail {
    stroke: #f0f0f0 !important;
    stroke-width: 7px !important;
}

.seek-progress-text {
    margin-top: 24px;
    color: white;
    font-size: 16px;
    text-align: center;
    opacity: 0.9;
    line-height: 1.4;
}

.cancel-button {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 6px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cancel-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.cancel-button:active {
    transform: translateY(0);
}
/* SessionRecordingPlayer Styles */

.session-recording-player {
    background: black;
    color: white;
    font-family: "Source Sans Pro", sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.session-recording-player.controls-visible {
    cursor: default;
}

.session-recording-player.controls-hidden {
    cursor: none;
}

.player-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-display.controls-visible {
    cursor: default;
}

.player-display.controls-hidden {
    cursor: none;
}

.player-controls-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.player-controls-container.controls-visible {
    display: flex;
}

.player-controls-container.controls-hidden {
    display: none;
}

.seek-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    accent-color: #2196f3;
}

.seek-bar:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.player-controls-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.play-pause-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
}

.play-pause-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.play-pause-button img {
    width: 100%;
    height: 100%;
}

.play-pause-icon {
    width: 100%;
    height: 100%;
}

.time-display {
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
