/*!*검색 스타일*!*/
.search-wrap {
    display: flex;
    justify-content: center;
}
.search-sub-wrap {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    margin-bottom: 40px;
    transition: .2s ease;
    flex: 0.5;
    /*max-width: 500px;*/
}

.search-sub-wrap:hover{
    border-color: color-mix(in srgb, var(--theme) 25%, #e7edf5);
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
}
.search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;

    position: relative;
}

.search-sub {
    margin: 0;
    color: #6c7e73;
    font-size: 1.25rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

}
.search-form {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 112px;
    grid-template-areas: "area keyword button";
    align-items: center;
    gap: 10px;
}
.search-form select, .search-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #d7e2db;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
    color: #2f3f36;
    text-align: center;
}
.search-form button {
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--theme);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

@media (max-width: 1024px) {
    .search-sub-wrap {
        flex: 0.8;
    }
}
@media (max-width: 740px) {
    .search-sub {
        position: static;
        transform: none;
    }
    .search-form {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas:
        "month car"
        "button button";
        gap: 10px;
    }

    .date-input-wrap {
        grid-area: month;
    }

    #searchCarNo {
        grid-area: car;
    }

    .search-form button {
        grid-area: button;
        width: 100%;
    }
}

@media (max-width: 550px) {
    .search-form {
        display: grid;
        grid-template-columns: minmax(0, 80px) minmax(150px, 1fr);
        grid-template-areas:
        "month car"
        "button button";
        gap: 10px;

    }
    .search-sub-wrap {
        padding: 14px 16px;
        flex: 1;
    }

}
.search-form select {
    background-image: url(/images/drop-down.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;

    padding-right: 35px;
    text-align: left;
}

/* 공지사항 테이블 스타일 */
.notice-result {
    display: block;
}

.notice-result-table {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.notice-result-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 80px;
    gap: 0;
    padding: 16px;
    background: #f7f9fc;
    border-bottom: 1px solid #e7edf5;
    font-weight: 600;
    color: #2f3f36;
    font-size: 0.95rem;
}

.notice-result-body {
    display: flex;
    flex-direction: column;
}

.notice-result-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 80px;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid #f0f3f8;
    align-items: center;
    transition: background-color .2s ease;
}

.notice-result-row:last-child {
    border-bottom: none;
}

.notice-result-row:hover {
    background-color: #f9fafc;
}

.col-num {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.col-title {
    padding: 0 12px;
    text-align: left;
    min-width: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}
.col-title .file-icon {
    font-size: 13px;
    flex-shrink: 0;
}
.col-title .notice-link {
    /*flex: 1;*/
    min-width: 0;
    color: #2f3f36;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.col-title .notice-link:hover {
    color: var(--theme);
}

.col-date {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.col-views {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.element-in-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1rem;
    background: #f9fafc;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    margin-top: 20px;
}

/* 페이지네이션 스타일 */
.notice-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
}

.notice-page-btn {
    border: 1px solid #d5e3d8;
    background: #fff;
    color: #3a4b42;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 36px;
    font-size: 1.05rem;
    line-height: 1.1;
    cursor: pointer;
    transition: all .2s ease;
}

.notice-page-btn:hover {
    border-color: var(--theme);
    color: var(--theme);
}

.notice-page-btn.is-active {
    background: var(--theme);
    border-color: var(--theme);
    color: #fff;
    font-weight: 600;
}

.notice-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .notice-result-header,
    .notice-result-row {
        grid-template-columns: 60px 1fr 80px 60px;
        padding: 12px;
    }
    
    .col-title .notice-link {
        font-size: 0.85rem;
    }
}

