.queue-box {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #fff;
}

.queue-box h5 {
    font-weight: bold;
    font-size: 20px;
}

.queue-box small {
    font-size: 14px;
    color: #888;
}

.queue-box .btn {
    font-size: 14px;
    margin-right: 5px;
}

.queue-box .btn-sm {
    padding: 8px 12px;
}

.queue-box .badge {
    padding: 5px 10px;
    font-size: 12px;
}

.queue-box-top
{
    height: 15px;
    width: 100%;
    position: absolute;
    top: 0; left: 0; border-top-left-radius: 5px; border-top-right-radius: 5px;


}


.custom-radio-btn {
    padding: 5px 15px; /* 높이 감소 */
    border-radius: 6px; /* 둥근 모서리 */
    font-weight: 500;
    font-size: 14px; /* 필요 시 글자 크기 조정 */
}

.custom-radio-btn:checked + label {
    background-color: #007bff;
    color: #fff;
}

.more > a {
    display: block;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #303030;
    position: relative;  /* 부모 기준 */
}

.more > a:before,
.more > a:after {
    content: "";
    position: absolute;
    background: #fff;
    transition: transform 0.3s ease-in-out; /* 부드러운 애니메이션 */
}

/* 세로선 ( | ) */
.more > a:before {
    width: 1px;
    height: 11px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 가로선 ( — ) */
.more > a:after {
    width: 11px;
    height: 1px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 마우스 올릴 때 + 회전 */
.more > a:hover:before,
.more > a:hover:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.ribbon {
    z-index: 10;
    position: absolute;
    top: 43px;
    left: -24px;
    background: #ff4757;
    color: #fff;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    transform-origin: left top;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

/* 카테고리별 배경색 */
.ribbon.박람회 {
    background: #ff4757;
}

/* 빨강 */
.ribbon.설명회 {
    background: #1e90ff;
}

/* 파랑 */
.ribbon.상담회 {
    background: #28a745;
}

/* 초록 */
/* 온라인/오프라인 배지 스타일 */
.badge {
    padding: 5px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 5px;
    color: #fff;
}

.badge-online {
    background: #4CAF50;
}

/* 파란색 */
.badge-offline {
    background: #6c757d;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* 아이콘과 텍스트 간격 */
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ffcc00, #ff9900); /* 최신 트렌드 그라데이션 */
    border: none;
    border-radius: 30px; /* 둥근 버튼 */
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(255, 153, 0, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* 네온 효과 (빛이 지나가는 느낌) */
.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease-in-out;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #ff9900, #ff6600);
    box-shadow: 0px 6px 15px rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
}

.btn-modern:active {
    transform: scale(0.96);
}
.line-height-over {
    position: relative;
    bottom: -15px;
    display: block;
    margin: 0;
    width: 100%;
    height: 1px;
    background-color: #dde4ea;
    border: none;
    z-index: 1;
}
.fi-social-kakao:before {
    content: url(/img/icon_kakao.png);
}
.btn-apply {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #ffcc00, #ff9900); /* 최신 트렌드 그라데이션 */
    border: none;
    border-radius: 12px; /* 둥근 모서리 */
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #ff9900, #ff6600);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-apply:active {
    transform: scale(0.98);
}
.btn-apply-neon {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #ffcc00;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 200, 0, 0.4);
    transition: all 0.3s ease-in-out;
}

.btn-apply-neon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
}

.btn-apply-neon:hover::before {
    left: 100%;
}

.btn-apply-neon:active {
    transform: scale(0.98);
}
.btn-apply-glass {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.2); /* 반투명 유리 효과 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.btn-apply-glass:hover {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
}
/* 🔵 검색 박스 스타일 */
.search-box {
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease-in-out;
}

/* ✅ 체크박스 스타일 */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.custom-checkbox input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #5A67D8;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-checkbox input:checked {
    background-color: #5A67D8;
    border-color: #5A67D8;
}

.custom-checkbox input:checked::after {
    content: "✔";
    position: absolute;
    font-size: 12px;
    color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 📍 필터 항목 가상선 (중앙 정렬) */
.filter-box {
    position: relative;
}

.filter-divider {
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #ddd;
}

.filter-box:first-child .filter-divider {
    display: none; /* 첫 번째 컬럼은 가상선 제거 */
}

/* 🔍 검색 입력 필드 스타일 */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
}

/* 🔘 검색 버튼 스타일 */
.btn_search {
    background-color: #5A67D8;
    border: none;
    font-weight: bold;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease-in-out;
}

.btn_search:hover {
    background-color: #4C51BF;
}

/* 반응형 적용 */
@media (max-width: 768px) {
    .search-box {
        padding: 15px;
    }

    .custom-checkbox label {
        font-size: 14px;
    }

    .form-control {
        font-size: 13px;
        padding: 8px;
    }

    .btn_search {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* 가상선 제거 */
    .filter-divider {
        display: none;
    }
}
.project-list, .project-list-ended {
    min-height: 300px; /* 기본 최소 높이 */
}

/* 모바일 화면 (최대 너비 768px 이하)에서는 최소 높이를 100px로 설정 */
@media (max-width: 768px) {
    .project-list, .project-list-ended {
        min-height: 100px;
    }
}
/* ✅ 로그인 버튼 스타일 */
.btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    transition: all 0.3s ease-in-out;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    transform: scale(1.05);
}

/* ✅ 유저 아이콘 */
.profile-icon {
    width: 30px;
    height: 30px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ 드롭다운 메뉴 스타일 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dropdown-item i {
    font-size: 18px;
    color: #666;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
