* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-red: #ff0328;
    --light-red: #ff8596;
    --primary-glow: 0 0 20px rgba(255, 3, 40, 0.5);
    --gradient-dark: linear-gradient(140deg, #000000, #1a0000);
}

body {
    background: linear-gradient(140deg, #000000, #1a0000);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Elements */
.background-gradient {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        ellipse at 70% 50%,
        rgba(255, 3, 40, 0.2) 0%,
        rgba(255, 3, 40, 0.12) 25%,
        rgba(255, 3, 40, 0.05) 50%,
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
    z-index: -3;
    opacity: 0.8;
}

.mouse-gradient {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        circle at 80% 60%, 
        rgba(255, 3, 40, 0.15) 0%, 
        rgba(255, 3, 40, 0.08) 30%,
        rgba(255, 3, 40, 0.03) 50%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Floating Icons */
.background-icon {
    position: absolute;
    background: rgba(255, 3, 40, 0.15);
    border: 1px solid rgba(255, 3, 40, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: floatingIcon 20s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(255, 3, 40, 0.1);
}

.background-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    --rotation: 15deg;
    width: 80px;
    height: 80px;
}

.background-icon:nth-child(2) {
    top: 60%;
    left: 75%;
    animation-delay: -5s;
    --rotation: -20deg;
    width: 100px;
    height: 100px;
}

.background-icon:nth-child(3) {
    top: 75%;
    left: 20%;
    animation-delay: -10s;
    --rotation: 30deg;
    width: 60px;
    height: 60px;
}

.background-icon:nth-child(4) {
    top: 25%;
    left: 85%;
    animation-delay: -15s;
    --rotation: -10deg;
    width: 70px;
    height: 70px;
}

.background-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 3, 40, 0.1), transparent);
    border-radius: inherit;
}

@keyframes floatingIcon {
    0% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(20px) rotate(calc(var(--rotation) + 5deg));
    }
    100% {
        transform: translateY(0) rotate(var(--rotation));
    }
}

/* Ambient Glow */
.ambient-glow {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
}

.glow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: pulseGlow 8s infinite ease-in-out;
}

.glow-spot:nth-child(1) {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 3, 40, 0.3);
}

.glow-spot:nth-child(2) {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 3, 40, 0.2);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.15; }
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    transition: all 0.3s ease;
}

.navbar-initial {
    background: transparent;
    padding: 2rem 4rem;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 3, 40, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    text-decoration: none;
}

.navbar-scrolled .logo {
    transform: scale(0.95);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
    opacity: 0;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
    opacity: 1;
}

.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    width: 100%;
    opacity: 1;
}

.mobile-menu-btn,
.mobile-close-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 0.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 2.5rem;
    transition: none;  /* 초기에는 애니메이션 비활성화 */
}

.main-title.searched {
    font-size: 3rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);  /* 검색 후에만 애니메이션 활성화 */
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

/* Search Container */
.search-container {
    position: fixed;  /* absolute 대신 fixed 사용 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 2rem;
    transition: none;  /* 초기에는 애니메이션 비활성화 */
    z-index: 10;
}

.search-container.searched {
    position: fixed;
    top: 120px;  /* 절대값으로 위치 지정 */
    transform: translateX(-50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);  /* 검색 후에만 애니메이션 활성화 */
}

.search-container.searching {
    position: static;
    transform: none;
    margin: 6rem auto 2rem;
}

.search-input-container {
    display: flex;
    width: 100%;
}

.search-title {
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffffff, var(--light-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.searching .search-title h1 {
    font-size: 2rem;
}

.search-results {
    position: relative;
    margin-top: 250px;  /* 검색창 아래에 위치하도록 여백 조정 */
    opacity: 0;
    visibility: hidden;
    padding: 0 2rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.search-results.visible {
    opacity: 1;
    visibility: visible;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* 유저 카드 스타일 */
.user-card {
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 3, 40, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 25px rgba(255, 3, 40, 0.2);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 3, 40, 0.1);
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.user-id {
    font-size: 0.9rem;
    color: #666;
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease;
}

.modal-container {
    background: #18191c;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 3, 40, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #2f3136;
}

.modal-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #b9bbbe;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-content {
    padding: 1.5rem;
    max-height: calc(80vh - 4rem);
    overflow-y: auto;
}

/* 프로필 스타일 */
.profile-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #2f3136;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.profile-id {
    color: #b9bbbe;
    font-size: 0.9rem;
}

.profile-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.profile-status.warning {
    background: var(--primary-red);
    color: #fff;
}

/* 날짜 정보 스타일 */
.profile-dates {
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.date-item {
    background: rgba(47, 49, 54, 0.6);
    padding: 1rem;
    border-radius: 8px;
}

.date-item .label {
    display: block;
    color: #b9bbbe;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.date-item .value {
    color: #fff;
    font-size: 0.9rem;
}

/* 신고 정보 스타일 */
.report-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2f3136;
}

.report-details h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.report-item {
    margin-bottom: 1rem;
}

.report-item .label {
    display: block;
    color: #b9bbbe;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.report-item .value {
    color: #fff;
    font-size: 0.9rem;
}

.report-description {
    margin-top: 1.5rem;
}

.report-description h4 {
    color: #b9bbbe;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.report-description p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(47, 49, 54, 0.6);
    padding: 1rem;
    border-radius: 8px;
    white-space: pre-wrap;
}

.evidence-link {
    margin-top: 1rem;
}

.evidence-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 3, 40, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.evidence-link a:hover {
    background: rgba(255, 3, 40, 0.2);
}

/* 모달 애니메이션 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 모달 닫기 애니메이션 */
.modal-overlay.closing {
    animation: modalFadeOut 0.3s ease forwards;
}

.modal-overlay.closing .modal-container {
    animation: modalSlideOut 0.3s ease forwards;
}

@keyframes modalFadeOut {
    to {
        opacity: 0;
    }
}

@keyframes modalSlideOut {
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

.report-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.report-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 3, 40, 0.1);
    border: 1px solid rgba(255, 3, 40, 0.2);
    border-radius: 6px;
    color: var(--primary-red);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.search-title p {
    font-size: 1.2rem;
    color: #676767;
}

.search-box {
    flex: 1;
    display: flex;
    gap: 0.75rem;
    align-items: center; /* 버튼들과 높이 정렬을 위해 추가 */
}

.button-wrapper {
    display: flex;
    gap: 0.75rem;
    height: 60px; /* 고정된 높이 설정 */
}

.search-box input {
    flex: 1;
}

input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 3, 40, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

input::placeholder {
    color: #666;
}

input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 3, 40, 0.1);
    background: rgba(17, 17, 17, 0.9);
}

button {
    padding: 1.2rem 2.5rem;
    background: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 3, 40, 0.2);
    letter-spacing: 0.5px;
}

button:hover {
    background: #ff1f41;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 3, 40, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 3, 40, 0.2);
}

/* Filter Button */
.filter-btn {
    padding: 1.2rem;
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 3, 40, 0.1);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    background: rgba(17, 17, 17, 0.9);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

#searchBtn,
.filter-btn {
    padding: 0 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px; /* 최소 높이 설정 */
}

.filter-btn {
    background: rgba(17, 17, 17, 0.7);
    border: 1px solid rgba(255, 3, 40, 0.1);
}

/* Filter Modal */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: all 0.3s ease;
}

.filter-modal.active {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.filter-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #666;
    box-shadow: none;
}

.close-modal-btn:hover {
    color: #fff;
    transform: none;
    box-shadow: none;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h3 {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Radio and Checkbox Styles */
.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.radio-label input,
.checkbox-label input {
    display: none;
}

.radio-label span,
.checkbox-label span {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 3, 40, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.radio-label span:before,
.checkbox-label span:before {
    display: none;
}

.radio-label input:checked + span,
.checkbox-label input:checked + span {
    background: var(--primary-red);  /* 단색 배경으로 변경 */
    border-color: var(--primary-red);
    color: #fff;
}

.radio-label input:checked + span:before,
.checkbox-label input:checked + span:before {
    opacity: 1;
}

.radio-label:hover span,
.checkbox-label:hover span {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 3, 40, 0.2);
}

/* Date Range Styles */
.date-range {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.date-input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 3, 40, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}

/* 캘린더 아이콘 커스텀 */
.date-input::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff0328' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    opacity: 0.6;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* 캘린더 팝업 스타일링 */
::-webkit-datetime-edit {
    color: #fff;
    padding: 0;
}

::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

::-webkit-datetime-edit-text {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.2em;
}

::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-year-field {
    color: #fff;
}

::-webkit-datetime-edit-month-field:focus,
::-webkit-datetime-edit-day-field:focus,
::-webkit-datetime-edit-year-field:focus {
    background-color: var(--primary-red);
    color: #fff;
    outline: none;
}

/* 날짜 선택기가 열릴 때의 스타일 */
input[type="date"]::-webkit-calendar-picker {
    background-color: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255, 3, 40, 0.1);
    border-radius: 10px;
    color: #fff;
}

/* 날짜 선택기 헤더 */
::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(255, 3, 40, 0.1);
    border-radius: 5px;
}

/* 빈 영역 스타일 */
.date-input:invalid {
    color: rgba(255, 255, 255, 0.5);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 3, 40, 0.1);
}

.date-input:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 3, 40, 0.2);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
}

.date-range span {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer button {
    position: relative;
    overflow: hidden;
}

.modal-footer button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.modal-footer button:hover:after {
    transform: translate(-50%, -50%) scale(1);
}

.reset-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* User List */
.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Footer */
footer {
    padding: 2rem 4rem;
    color: #676767;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
   .navbar {
       padding: 0;
   }

   .navbar-content {
       padding: 1rem;
       position: relative;
   }

   .logo {
       margin-left: 0.5rem;
   }

   .mobile-menu-btn {
       display: flex;
       align-items: center;
       justify-content: center;
       position: absolute;
       right: 1rem;
       top: 50%;
       transform: translateY(-50%);
       z-index: 1001;
   }

   .mobile-close-btn {
       display: flex;
       align-items: center;
       justify-content: center;
       position: absolute;
       top: 1rem;
       right: 1rem;
       z-index: 1003;
   }

   .nav-links {
       position: fixed;
       top: 0;
       right: -60%;  /* 변경: -100%에서 -60%로 수정 */
       width: 60%;   /* 변경: 100%에서 60%로 수정 */
       height: 100vh;
       background: rgba(0, 0, 0, 0.95);
       backdrop-filter: blur(10px);
       -webkit-backdrop-filter: blur(10px);
       flex-direction: column;
       padding: 5rem 2rem;
       transition: all 0.3s ease;
       z-index: 1002;
   }

   .nav-links.active {
       right: 0;
   }

   .nav-links a {
       margin: 1rem 0;
       font-size: 1.2rem;
   }
   
   .main-content {
       padding: 0 2rem;
   }

    .user-header {
        padding: 1rem;
        gap: 1rem;
    }

    .user-avatar {
        width: 48px;
        height: 48px;
    }

    .user-name {
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 3rem;
    }
    
    .main-title.searched {
        font-size: 2rem;
    }

    .search-results {
        margin-top: 200px;
    }

    .search-container.searched {
        top: 100px;
    }
    
   .search-container {
       margin-top: 0;
       top: 35%;
       transform: translate(-50%, -35%);
   }

   .search-input-container {
       flex-direction: column;
       gap: 0.75rem;
   }

   .search-box {
       display: flex;
       flex-direction: column;
       gap: 0.75rem;
       width: 100%;
   }

   .search-box input {
       width: 100%;
   }

   .button-wrapper {
       display: flex;
       gap: 0.75rem;
       width: 100%;
   }

    .button-wrapper {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
    }

    /* 필터 버튼을 왼쪽으로, 검색 버튼을 오른쪽으로 */
    .button-wrapper {
        flex-direction: row-reverse;
        height: 60px; /* 고정된 높이 유지 */
    }

    #searchBtn,
    .filter-btn {
        flex: 1;
        padding: 0;
        height: 100%;
        min-height: 60px; /* 최소 높이 유지 */
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;  /* 버튼 너비 동일하게 */
    }

    .filter-btn {
        width: 50%;
    }

    #searchBtn {
        width: 50%;
    }

   .modal-content {
       width: 95%;
       padding: 1.5rem;
   }

   .date-range {
       flex-direction: column;
   }

   .date-input {
       font-size: 0.85rem;
       padding: 0.7rem 0.9rem;
   }
   
   .date-input::-webkit-calendar-picker-indicator {
       padding: 0.4rem;
   }
   
   .filter-options {
       gap: 1rem;
   }

   .radio-label span,
   .checkbox-label span {
       display: inline-flex;
       align-items: center;
       padding: 0.7rem 1.2rem;
       background: rgba(255, 255, 255, 0.05);
       border: 1px solid rgba(255, 3, 40, 0.1);
       border-radius: 10px;
       color: #fff;
       font-size: 0.9rem;
       transition: all 0.2s ease;
   }

   .search-title h1 {
       font-size: 2.5rem;
   }

   .search-title p {
       font-size: 1rem;
   }

    .button-wrapper {
        flex-direction: row-reverse;
        height: 60px; /* 고정된 높이 유지 */
    }
    
   .user-list {
       grid-template-columns: 1fr;
   }

   footer {
       padding: 2rem;
   }

    .search-results {
        margin-top: 200px;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        width: 60%;  /* 변경: 50%에서 60%로 통일 */
        right: -60%; /* 변경: 추가 */
    }
    
    .search-container {
        top: 35%;
        transform: translate(-50%, -35%);
    }

    .search-container.searched {
        top: 80px;
    }

    .search-results {
        margin-top: 180px;
    }
    
    .search-title h1 {
        font-size: 2rem;
    }

    .background-icon {
        transform: scale(0.7);
    }

    .button-wrapper {
        flex-direction: row;
    }

    #searchBtn,
    .filter-btn {
        flex: 1;
    }

    .search-box input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .main-title {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
