/* 기본 스타일 */
.equipment-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 항상 3열 유지 */
    gap: 20px; /* 아이템 간 간격 */
    padding: 20px;
    max-width: 1200px; /* 최대 너비 설정 */
    margin: 0 auto; /* 중앙 정렬 */
    box-sizing: border-box;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipment-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    padding: 10px;
    padding-bottom: 20px; /* 박스 하단 패딩 */
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-image {
    border-radius: 10px;
    object-fit: cover;
    width: 100%; /* 이미지가 박스 전체 너비를 차지하도록 설정 */

}

.status-label {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    line-height: 30px; /* 텍스트 수직 정렬 */
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%; /* 원형 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.status-label.in-use {
    background-color: #f57c00; /* 주황색 */
}

.status-label.available {
    background-color: #4caf50; /* 초록색 */
}

.status-label.repairing {
    background-color: red; /* 빨간색으로 변경 */
}

.equipment-info {
    font-size: 14px;
    margin-top: 10px;
    min-height: 40px; /* 높이 고정 */
    text-align: left; /* 좌측 정렬 */
    font-weight: bold !important; /* 볼드 처리 */
}

.usage-info {
    font-size: 14px;
    font-weight: bold !important; /* 볼드 처리 */
    margin-top: 5px;
}

.usage-time, .remaining-time, .repair-status {
    font-weight: bold !important; /* 볼드 처리 */
}

.blue-number {
    color: #007bff; /* 파란색 */
    font-weight: bold !important; /* 볼드 처리 */
}

.red-number {
    color: #d32f2f; /* 빨간색 */
    font-weight: bold !important; /* 볼드 처리 */
}

.title-box {
    background-color: #f9f9f9;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #ddd;
    text-align: center;
    width: 100%;
    margin-top: 10px; /* 박스와 제목 간격 */
    border-radius: 10px; /* 직사각형 형태 */
    box-sizing: border-box;
}

/* 호버 효과 */
.equipment-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* PC 화면에서의 스타일 조정 */
@media (min-width: 1024px) {
    .equipment-container {
        padding: 20px 40px; /* 좌우 여백 추가 */
    }

    .equipment-box {
        padding: 15px;
        padding-bottom: 25px;
    }

    .title-box {
        font-size: 18px;
        padding: 15px;
    }
}

/* 태블릿 및 모바일 화면에서도 3열 유지 */
@media (max-width: 1023px) {
    .equipment-container {
        padding: 15px 20px; /* 약간의 좌우 여백 조정 */
    }

    .equipment-image {
    }

    .title-box {
        font-size: 17px;
    }
}

@media (max-width: 599px) {
    .equipment-container {
        padding: 10px 15px; /* 더 작은 좌우 여백 */
    }

    .equipment-image {
    }

    .title-box {
        font-size: 16px;
    }
}

/* 좌우 화살표 스타일 */
.slick-prev, .slick-next {
    display: flex !important; /* 기본적으로 display를 강제로 flex로 유지 */
    opacity: 1 !important; /* 기본적으로 opacity를 1로 설정하여 사라지지 않게 */
    width: 40px !important; /* 화살표 크기 */
    height: 40px !important; /* 화살표 크기 */
    border-radius: 5px !important; /* 네모 칸 안에 둥근 모서리 */
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important; /* 클릭 가능한 커서 */
    position: absolute !important; /* 절대 위치 */
    top: 105% !important; /* 슬라이드 하단에서 5% 아래로 이동 */
}

.slick-prev {
    left: 90% !important; /* 슬라이더 중앙 기준 왼쪽 화살표 */
    margin-left: -50px !important; /* 왼쪽 화살표의 중앙을 맞추기 위한 간격 조정 */
}

.slick-next {
    left: 88% !important; /* 슬라이더 중앙 기준 오른쪽 화살표 */
    margin-left: 10px !important; /* 오른쪽 화살표의 중앙을 맞추기 위한 간격 조정 */
}

/* 화살표 모양 */
.slick-prev:before, .slick-next:before {
    font-size: 24px !important;
    color: black !important; /* 화살표 색상 */
}

/* dot 네비게이션 제거 */
.slick-dots {
    display: none !important; /* dot 네비게이션 숨기기 */
}

/* 호버 시에도 화살표가 사라지지 않도록 */
.slick-prev:hover, .slick-next:hover {
    opacity: 1 !important; /* 호버 시 opacity 유지 */
}