/* start */
.file-preview {
    display: inline-block;
    border: 1px solid #ccc;
    height: 38px;
    width: 100%;
    color: #888;
    padding-top: 6px;
    padding-left: 5px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.file-browse {
    display: inline-block;
    position: absolute;
    right: 0;
    height: 38px;
    border: 1px solid #ccc;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    padding: 5px;
    background: #e9ecef;
    top: 0;
}

.label-cls {
    background: #e9ecef;
    display: inline-block;
    position: absolute;
    left: 90px;
    border: 1px solid #ccc;
    padding: 6px;
    width: 310px;
    z-index: 100;
}
.label-cls2{
    position: absolute;
    border: 1px solid #ccc;
    padding: 7px 5px;
    width: 234px;
    left: 135px;
    background: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* upload file button start */
input[type="file"] {
    position: relative;
}

input[type="file"]::file-selector-button {
    width: 136px;
    color: transparent;
}

/* Faked label styles and icon */
input[type="file"]::before {
    position: absolute;
    pointer-events: none;
    top: 10px;
    left: 16px;
    height: 20px;
    width: 20px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230964B0'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

input[type="file"]::after {
    position: absolute;
    pointer-events: none;
    top: 11px;
    left: 40px;
    color: #0964b0;
    content: "Upload File";
}

/* ------- From Step 1 ------- */

/* file upload button */
input[type="file"]::file-selector-button {
    border-radius: 4px;
    padding: 0 16px;
    height: 40px;
    cursor: pointer;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    margin-right: 16px;
    transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
    background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
    background-color: #e5e7eb;
}
.box {
    width: 96%;
    height: auto;
    margin: 10px auto;
    padding-top: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}
.btn-upload {
    width: 80%;
    height: 100px;
    padding: 0 10px;
    margin: 10px auto;
    text-align: center;
    color: #5098F8;
    border-radius: 4px;
    border: 1px dashed #5098F8;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-upload:hover{
    background: #e8e8e8;
}
.btn-layout{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    border-top: 1px dashed #ccc;
}
/* end */
.or-item{
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.or-item img{
    width: 360px;
    height: 360px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 3px;
}
.or-item video{
    width: 300px;
    height: 300px;
}
.or-layout{
    border: 1px dashed #ddd;
    border-radius: 3px;
    width: 90% !important;
    margin: 0 auto;
    display: none;
}
.or-title{
    padding: 5px 0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

#tt-prompt{
    width: 70%;
    margin: 0 auto;
}
#in-prompt-text{
    width: 80%;
    margin: 0 auto;
    height: 200px;
    margin-top: 10px;
}
