/* Margin */
.ui-m-auto {margin: auto;}
.ui-mt-30 {margin-top: 30px}

/* Padding */
.ui-pb-10 {padding-bottom: 10px;}

/* Gap */
.ui-gap-3 {gap: 1rem;}
.ui-gap-4 {gap: 1.25rem}

.ui-area {
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.ui-body h2 {
    margin: 0;
    margin-bottom: 16px;
    padding-left: 6px;
    border-left: 3px solid #94a3b8;
    font-size: 20px;
    line-height: 1.5;
}

.ui-row {
    display: flex;
    flex-wrap: wrap;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.ui-col-3 {
    flex: 0 0 auto;
    width: 25%
}

.ui-col-7 {
    flex: 0 0 auto;
    width: 58.33333333%
}

.ui-col-9 {
    flex: 0 0 auto;
    width: 75%
}

.ui-box div {
    position: relative;
    margin-top: 14px;
}

.ui-box label {
    font-size: 14px;
    font-weight: 500;
}

.ui-box span {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    position: absolute;
    top: -10px;
    left: 18px;
    background: #f8fafc;
    line-height: 1.5;
    padding: 0 4px;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.ui-box input {
    border: 1px dashed #cbd5e1;
}

.ui-box input:focus {
    border: 1px dashed #cbd5e1 !important;
    box-shadow: none !important;
    outline: none !important;
}

.ui-box input::placeholder {
    color: #94a3b8;
}

.ui-box input[type=color] {
    width: 120px;
    height: 60px;
    padding: 8px 3px 1px;
}

.ui-box input[type=url] {
    width: 100%;
    height: 40px;
    font-size: 14px;
}

/*---------- range reset styles ----------*/
.ui-box input[type="range"] {
    --color-1: #94a3b8;
    --color-2: #dbe1e9;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    padding: 18px 8px 10px;
    border-radius: 4px;
}

/* Removes default focus */
.ui-box input[type="range"]:focus {
    outline: none;
}

/* slider track */
.ui-box input[type="range"]::-webkit-slider-runnable-track {
    background-color: var(--color-2);
    border-radius: 0.5rem;
    height: 8px;
}

/* slider thumb */
.ui-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    margin-top: -4px;
    /* Centers thumb on the track */
    background-color: var(--color-1);
    border-radius: 0.5rem;
    height: 1rem;
    width: 1rem;
}

.ui-box input[type="range"]:focus::-webkit-slider-thumb {
    outline: 3px solid var(--color-1);
    outline-offset: 0.125rem;
}

/* slider track | Firefox styles */
.ui-box input[type="range"]::-moz-range-track {
    background-color: var(--color-2);
    border-radius: 0.5rem;
    height: 8px;
}

/* slider thumb */
.ui-box input[type="range"]::-moz-range-thumb {
    background-color: var(--color-1);
    border: none;
    /*Removes extra border that FF applies*/
    border-radius: 0.5rem;
    height: 1rem;
    width: 1rem;
}

.ui-box input[type="range"]:focus::-moz-range-thumb {
    outline: 3px solid var(--color-1);
    outline-offset: 0.125rem;
}

/*---------- C2 ----------*/
.ui-author-about {
    text-align: center;
}

.ui-author-about h2 {
    display: inline-block;
    background: #f1f5f9;
    padding-right: 10px;
}

.ui-author-about img {
    width: 150px;
    border-radius: 100rem;
}

.ui-author-details h2 {
    border: none;
    display: block;
    background: transparent;
    padding: unset;
    margin-bottom: 4px;
}

.ui-author-details p {
    margin-top: 0;
}

.ui-author-details ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.ui-author-details ul li a {
    text-decoration: none;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ui-author-details ul li a:focus {
    border: none !important;
    box-shadow: none !important;
}

/* responsive */
@media only screen and (max-width: 767px) {
    /* For mobile phones: */
    [class*="ui-col-"] {
      width: 100%;
    }

    .ui-mt-sm-20 {margin-top: 20px !important}

    .ui-box span {
        text-wrap: nowrap;
        white-space-collapse: collapse;
    }
}
