.home-btn {
    display: none !important;
}

.accordion-button:not(.collapsed)::before {
    color: black;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");

}

.accordion-button:not(.collapsed){
    color: black;
}

.accordion-button::before {
    order: 1;
    margin-left: auto;
}

.accordion-item {
    border-radius: .25rem;
}

.fe-alert-circle {
    color: red;
}

.fe-check {
    color: green;
}

.orange-button {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.orange-button:hover {
    background-color: #e65f00;
    border-color: #e65f00;
    color: white;
}

.img-comment{
    color: black;
}


*[class="form-check mb-3"] .form-check-input:checked[type=radio], *[class="form-check form-check-inline mx-4"] .form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23ff6900'/%3e%3c/svg%3e");
}

.col-10 .tab-pane .form-control::-webkit-input-placeholder {
    font-family: Roboto, serif;
    font-size: 14px;
    font-weight: 400;
    color: #6C757D;

}

a.file-link {
    color: black;
}
a.file-link:hover{
    color:#2e89aa;
}

/* Image preview */
#preview-image {
    cursor: pointer;
    transition: 0.3s;
}

#preview-image:hover {
    opacity: 0.7;
}

#fracture-image {
    cursor: pointer;
    transition: 0.3s;
}

#fracture-image:hover {
    opacity: 0.7;
}

/* Image zoomed */
#zoom-modal {
    display: none;
}

.zoom-img {
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin-top: 10px;
    margin-left: 10px;
    object-fit: contain;
    max-width: none;
    max-height: none;
    cursor: grab;
}

.zoom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}


.zoom-controls input {
    width: 60px;
    text-align: center;
}

.zoom-rotate-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9;
}

.zoom-controls input {
    width: 60px;
    text-align: center;
}


.close-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.close-btn:hover {
    color: red;
}

#app .number {
    color: #FF6900;
    background-color: #FF690040;
    font-family: Roboto, serif;
    text-align: center;
}

#app .form-wizard-header .nav-link {
    background-color: #FFE0CC;
    border: 1px solid #FFB47F;
}

#app .form-wizard-header .nav-link.active {
    background-color: #FFB47F;
    border: 1px solid #FFB47F;
}

#app .nav-link .d-sm-inline {
    color: #343A40;
    font-family: Roboto, serif;
    font-size: 14px;
    text-align: left;
    font-weight: 500;
}

#app .icon-link {
    color: #6C757D;
}


#recommended-badge {
    background-color: #FFF8EC;
    border: 1px solid #FFB47F;
    color: #FF6900;
    font-family: Inter, serif;
    font-size: 10px;
    text-align: left;
    font-weight: 500;
}

/* Add Animation */
.zoom-img,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.table-cell.p-2 {
    text-wrap: nowrap;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}
/* End of Image preview */

.search-table .table-cell,
.search-table .vue-table .table-cell {
    min-width: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* New Test Progress Bar Styles */
.test-progress-container {
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
}

.test-progress-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    padding: 0 10px;
    max-width: 100%;
}

.test-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 0 5px;
}

.test-progress-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ddd;
    background-color: white;
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.test-progress-line {
    position: absolute;
    top: 8px;
    left: calc(50% + 8px);
    width: calc(100% - 16px);
    height: 3px;
    z-index: 1;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.test-progress-step:last-child .test-progress-line {
    display: none;
}

.test-progress-line--active {
    background-color: #ff6900;
}

.test-progress-line--inactive {
    background-color: #ddd;
}

.test-progress-step--active .test-progress-dot {
    border-color: #ff6900;
    background-color: #ff6900;
}

.test-progress-step--inactive .test-progress-dot {
    border-color: #ddd;
    background-color: white;
}

.test-progress-content {
    text-align: center;
    width: 100%;
}

.test-progress-title {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.2;
    word-wrap: break-word;
    white-space: normal;
}

.test-progress-step--active .test-progress-title {
    color: #ff6900;
}

.test-progress-info {
    font-size: 10px;
    color: #999;
    line-height: 1.2;
}

.test-progress-user {
    font-weight: 500;
    margin-bottom: 2px;
}

.test-progress-date {
    color: #777;
}

.test-progress-step--active .test-progress-info {
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .test-progress-track {
        padding: 0 5px;
    }

    .test-progress-step {
        padding: 0 3px;
    }

    .test-progress-title {
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .test-progress-container {
        padding: 15px 0;
    }

    .test-progress-track {
        padding: 0 5px;
    }

    .test-progress-step {
        padding: 0 2px;
    }

    .test-progress-title {
        font-size: 10px;
        line-height: 1.1;
    }

    .test-progress-info {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .test-progress-container {
        padding: 10px 0;
    }

    .test-progress-track {
        padding: 0 5px;
    }

    .test-progress-step {
        padding: 0 1px;
        min-width: 0;
    }

    .test-progress-dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .test-progress-line {
        height: 2px;
        top: 7px;
        left: calc(50% + 7px);
        width: calc(100% - 14px);
    }

    .test-progress-title {
        font-size: 9px;
        line-height: 1.1;
        word-break: break-word;
    }

    .test-progress-info {
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .test-progress-container {
        padding: 8px 0;
    }

    .test-progress-track {
        padding: 0 2px;
    }

    .test-progress-step {
        padding: 0 1px;
    }

    .test-progress-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .test-progress-line {
        height: 2px;
        top: 6px;
        left: calc(50% + 6px);
        width: calc(100% - 12px);
    }

    .test-progress-title {
        font-size: 8px;
        line-height: 1.0;
        word-break: break-word;
    }

    .test-progress-info {
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .test-progress-container {
        padding: 5px 0;
    }

    .test-progress-track {
        padding: 0 1px;
    }

    .test-progress-step {
        padding: 0;
    }

    .test-progress-dot {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }

    .test-progress-line {
        height: 1px;
        top: 5px;
        left: calc(50% + 5px);
        width: calc(100% - 10px);
    }

    .test-progress-title {
        font-size: 7px;
        line-height: 1.0;
        word-break: break-word;
    }

    .test-progress-info {
        font-size: 6px;
    }
}

/* Extra small screens - stack vertically if needed */
@media (max-width: 360px) {
    .test-progress-track {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .test-progress-step {
        width: 100%;
        max-width: 200px;
        position: relative;
    }

    .test-progress-line {
        display: none;
    }

    .test-progress-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .test-progress-title {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .test-progress-info {
        font-size: 8px;
    }
}

/* State column and button styles */
.state-col {
    width: 100%;
}

.change-state-col {
    max-width: max-content;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-control-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.status-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ff6900;
    background-color: white;
    color: #ff6900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-control-btn:hover {
    background-color: #ff6900;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 105, 0, 0.3);
}

.status-control-btn:active {
    transform: scale(0.95);
}

.status-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.status-control-btn:disabled:hover {
    background-color: white;
    color: #ff6900;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .change-state-col {
        padding: 15px 5px;
    }

    .status-control-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .change-state-col {
        padding: 10px 5px;
    }

    .status-control-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
