
#select_document {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border-input);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: 'Myriad Pro', sans-serif;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    appearance: none;
    cursor: pointer;
}

#root .account-tab .beto-custom-widget .field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px!important;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#root .account-tab .beto-custom-widget .field-label .required {
    color: var(--yellow);
}

#root .account-tab label[for="document_upload"] {
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

span.upload-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:url(/v1.035/r/images/accessbet/icons/documentupload.svg);
    background-size:24px;
    background-repeat:no-repeat;
    background-position:center;
}

span.instructions {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

span.instructions.hint {
    font-size: 11px;
    color: var(--text-muted);
}

input[type="file"] {
    display: none;
}

.form-field {
    margin-bottom: 20px;
}

.field-errors {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.12);
    font-size: 12px;
    color: var(--yellow);
    font-weight: 500;
    margin-top: 10px;
    transition: opacity 0.3s;
}
.field-errors::before {
    content:"";
    width:16px;
    height:16px;
}
.input-active .field-errors::before {
    background-image:url(/v1.035/r/images/accessbet/icons/tickgreen.svg);
    background-repeat:no-repeat;
}
.input-active .field-errors {
    background: rgba(26, 154, 74, 0.08);
    border: 1px solid rgba(26, 154, 74, 0.15);
    font-size: 12px;
    color: var(--green);
}

.file-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0px;
    gap: 10px;
}

.file-entry {
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px dashed var(--border-light);
    display: flex;
    align-items: center;
    column-gap: 12px;
    position: relative;
    flex-wrap:wrap;
    width: 100%;
    
}

.file-type {
    line-height: 1;
    text-align: center;
    margin-top: 4px;
    order:-1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.file-entry .file-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px;
    overflow: hidden;
}

.file-entry .file-info-wrapper span.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-size: 11px;
    color: var(--text-muted);
}

.file-entry .file-icon {
    /* position:absolute; */
    order: -1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(232, 148, 58, 0.12);
}

.file-entry button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: 0px;
    transform: translate(40%,-40%)
}

.file-entry svg {
    width: 20px;
    height: 20px;
}
.file-entry .progress-container {
    width:100%;
    margin-top:10px;
}
.file-entry .progress-container .progress-bar-container {
    height:6px;
    width:100%;
    position:relative;
    border-radius:10px;
    background-color:var(--c-shade);
    overflow:hidden;
}
.file-entry .progress-container .progress-bar-container > div {
    position:absolute;
    height:100%;
    background-color:var(--yellow);
    top:0;
    left:0px;
    width:1%;
    border-radius:10px;
}
.file-entry.upload-successful .progress-container .progress-bar-container > div {
    background-color:var(--green)
}
.file-entry.upload-successful .file-icon {
    background: rgba(26, 154, 74, 0.08);
}
.file-entry.upload-successful {
    background: rgba(26, 154, 74, 0.08);
    border: 1px solid rgba(26, 154, 74, 0.15);
}
.file-entry.upload-successful button {
    display:none;
}
.account-tab hr {
    color: var(--border);
    border-color: var(--border);
    background-color: var(--border)
}
.submit-document {
    display:flex;
}
.account-tab button[type="submit"] {
    width: 100%;
    max-width: 320px;
    padding: 15px 24px;
    border-radius: 10px;
    border: none;
    background: var(--green);
    color: #fff;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin:0 auto;
}
.account-tab button[type="submit"]:disabled {
    opacity:.4
}
#document_list_wrapper {
    margin:20px 0px;
    text-align:center;
}
#document_list_wrapper > span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
/* HTML: <div class="loader"></div> */
.file-entry .file-icon::before  {
     content:"";
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  
}
.file-entry.upload-successful .file-icon::before  {
    background-image:url(/v1.035/r/images/accessbet/icons/tickgreen.svg);
    background-repeat:no-repeat;
}
.file-entry:not(.upload-successful):not(.upload-failed) .file-icon::before {
   
  
  animation: l2 1s infinite linear;
    border: 3px solid var(--c-shade-b);
    border-right-color: var(--yellow);
}
@keyframes l2 {to{transform: rotate(1turn)}}
.document-entry {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    align-items:center;
}
.document-entry .document-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.document-entry .document-icon {
    background-size:20px;
    background-repeat:no-repeat;
    background-position:center;
}
.document-entry.pending .document-icon {
    background-color: rgba(232, 148, 58, 0.12);
    background-image:url(/v1.035/r/images/accessbet/icons/warningyellow.svg);
    
}
.document-entry.approved .document-icon {
   background-color: rgba(26, 154, 74, 0.08);
    background-image:url(/v1.035/r/images/accessbet/icons/tickgreen.svg);
}
.document-entry .document-info {
    flex: 1;
    min-width: 0;
    display:flex;
    flex-direction:column;
    align-items:flex-start
}
.document-entry .document-info .document-type {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}
.document-entry .document-info .document-file-name {
        font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.document-entry .document-info .document-upload-time {
    font-size: 11px;
    color: var(--text-muted);
}
.document-entry .document-status {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    align-self: center;
}
.document-entry.pending .document-status {
    background: rgba(232, 148, 58, 0.12);
    color: var(--orange-warn);
}
.document-entry.approved .document-status {
    color:var(--green);
    background: rgba(26, 154, 74, 0.08);
}
.document-entry.rejected .document-status {
    color:var(--red);
}