/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* 네비게이션 */
.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* 메인 컨텐츠 */
.main-content {
    flex: 1;
    padding: 0;
}

/* 플래시 메시지 */
.flash-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.flash-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.flash-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 버튼 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 페이지 헤더 */
.page-header {
    background-color: var(--bg-color);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* 업로드 섹션 */
.upload-section {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.upload-form-container {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 차량 상세 섹션 */
.car-detail-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background-color: var(--bg-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.car-detail-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.page-header h1 {
    font-size: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 차량 그리드 */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.car-card {
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.car-card a {
    text-decoration: none;
    color: inherit;
}

.car-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 비율 */
    overflow: hidden;
    background-color: var(--bg-light);
}

.car-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.status-badge.sold {
    background-color: var(--error-color);
}

.car-info {
    padding: 1rem;
}

.car-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.car-year,
.car-mileage {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* 차량 상세 */
/* 모던한 차량 상세 페이지 스타일 */
.car-detail-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin: 0;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.car-images-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.main-image-modern {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.main-image-modern.no-image {
    color: var(--text-light);
    font-size: 1.25rem;
}

.main-car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
}

@media (max-width: 768px) {
    .main-car-image {
        cursor: pointer;
    }
}

.thumbnail-gallery {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.thumbnail-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
    position: relative;
}

.thumbnail-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-wrapper.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-info-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.car-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.car-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.car-status-badge.status-available {
    background-color: #d1fae5;
    color: #065f46;
}

.car-status-badge.status-sold {
    background-color: #fee2e2;
    color: #991b1b;
}

.car-status-badge.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.car-specs-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.spec-card {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.spec-card.price-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--primary-color);
}

.spec-icon {
    font-size: 1.125rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
}

.spec-label {
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-color);
}

.spec-value.price {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.car-description-modern,
.car-video-modern {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.car-video-modern {
    background-color: var(--bg-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #000;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.video-error .error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.video-shorts-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    color: white;
}

.shorts-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.shorts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.shorts-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.shorts-description {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.shorts-btn {
    margin-top: 0.5rem;
    background-color: white;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.shorts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.car-description-modern {
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.description-content {
    line-height: 1.8;
    color: var(--text-color);
}

.description-content p {
    margin: 0;
}

.car-meta-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.meta-item-compact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.meta-item-compact:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.meta-icon-small {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 0.375rem;
}

.meta-content-compact {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    text-align: left;
}

.meta-label-compact {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.2;
}

.meta-value-compact {
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
}

.phone-link-compact {
    color: var(--primary-color);
    text-decoration: none !important;
    transition: color 0.2s;
}

.phone-link-compact:hover {
    color: var(--primary-dark);
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.phone-link:hover {
    color: var(--primary-dark);
    text-decoration: none !important;
}

.phone-link::before {
    content: '📞';
    font-size: 0.875rem;
}

/* 기존 스타일 유지 (하위 호환성) */
.car-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.car-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    max-height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    max-height: 120px;
    padding: 0.5rem 0;
}

.thumbnail {
    width: 100px;
    height: 75px;
    min-width: 100px;
    min-height: 75px;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.car-details h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.car-specs {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.car-description {
    margin-bottom: 2rem;
}

.car-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.car-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

.car-meta p {
    margin-bottom: 0.5rem;
}

/* 공지사항 */
.notices-section,
.recent-notices-section {
    padding: 3rem 0;
}

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

.notice-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.notice-card.important {
    border-left-color: var(--error-color);
}

.notice-card h3 {
    margin-bottom: 0.5rem;
}

.notice-card a {
    color: var(--text-color);
    text-decoration: none;
}

.notice-card a:hover {
    color: var(--primary-color);
}

.notice-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.notices-list {
    list-style: none;
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.notices-list li {
    border-bottom: 1px solid var(--border-color);
}

.notices-list li:last-child {
    border-bottom: none;
}

.notices-list a {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.notices-list a:hover {
    background-color: var(--bg-light);
}

.notice-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* 인증 페이지 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.auth-box {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.auth-box h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.error-messages {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.error-message {
    margin-bottom: 0.5rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 관리자 페이지 */
.admin-dashboard {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.admin-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-menu-item {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admin-menu-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.admin-menu-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* 테이블 */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

table thead {
    background-color: var(--bg-light);
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
}

table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

table tbody tr:hover {
    background-color: var(--bg-light);
}

/* 필터 바 */
.filter-bar {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* 엔카 스타일 레이아웃 */
.cars-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.filter-sidebar {
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.filter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.filter-list dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.filter-list dd {
    margin: 0;
    padding: 0;
    margin-bottom: 0.5rem;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 0.25rem;
    transition: background-color 0.2s;
    font-size: 0.9375rem;
}

.filter-link:hover {
    background-color: var(--bg-light);
}

.filter-link.active {
    background-color: #e0e7ff;
    color: var(--primary-color);
    font-weight: 500;
}

.filter-link em {
    font-style: normal;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
}

.filter-link.active em {
    color: var(--primary-color);
}

.cars-main {
    min-width: 0;
}

.cars-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.result-count {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.result-count strong {
    color: var(--primary-color);
    font-weight: 600;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    background-color: var(--bg-color);
    cursor: pointer;
}

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

.encar-card {
    border: 1px solid var(--border-color);
}

.encar-card:hover {
    border-color: var(--primary-color);
}

.car-image-wrapper {
    position: relative;
}

.image-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.car-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--text-light);
    min-height: 180px;
}

.encar-info {
    padding: 1rem;
}

.car-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.car-specs-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.car-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.car-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.car-views {
    font-size: 0.75rem;
    color: var(--text-light);
}

.encar-pagination {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination-ellipsis {
    padding: 0.5rem 0.75rem;
    color: var(--text-light);
}

.page-subtitle {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.page-subtitle strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 역할 배지 */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.role-user {
    background-color: var(--bg-light);
    color: var(--text-color);
}

.role-upgraded {
    background-color: #dbeafe;
    color: #1e40af;
}

.role-admin {
    background-color: #fef3c7;
    color: #92400e;
}

/* 푸터 */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* 유틸리티 */
.text-center {
    text-align: center;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.125rem;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .cars-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .car-detail-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .car-title {
        font-size: 1.75rem;
    }

    .car-specs-modern {
        grid-template-columns: 1fr;
    }

    .spec-card.price-card {
        grid-column: 1;
    }

    .car-meta-modern {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .meta-item-compact {
        padding: 0.5rem;
    }
    
    .meta-icon-small {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }
    
    .meta-label-compact {
        font-size: 0.6875rem;
    }
    
    .meta-value-compact {
        font-size: 0.8125rem;
    }
    
    .car-video-modern {
        padding: 1rem;
    }
    
    .video-container {
        border-radius: 0.375rem;
    }

    .main-image-modern {
        aspect-ratio: 16 / 9;
        max-width: 100%;
        width: 100%;
    }

    .main-car-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .car-images-modern {
        max-width: 100%;
        width: 100%;
    }

    .thumbnail-wrapper {
        width: 80px;
        height: 60px;
    }

    .car-detail {
        grid-template-columns: 1fr;
    }

    .main-image {
        max-height: 400px;
    }

    .main-image img {
        max-height: 400px;
    }

    .thumbnail-images {
        max-height: 120px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }

    .filter-form {
        flex-direction: column;
    }
}

/* 모바일 전체화면 갤러리 */
.mobile-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-gallery.active {
    display: flex;
    opacity: 1;
}

.gallery-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    z-index: 10001;
}

.gallery-counter {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.gallery-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
    padding: 0;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    box-sizing: border-box;
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10001;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 769px) {
    .mobile-gallery {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .filter-form .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .notices-grid {
        grid-template-columns: 1fr;
    }

    .car-detail {
        padding: 1rem;
    }

    .auth-box {
        padding: 1.5rem;
    }
}

/* 문의 관련 스타일 */
.inquiry-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.inquiry-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 200px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.inquiries-section {
    padding: 2rem 0;
}

.inquiries-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.inquiry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.inquiry-header h3 {
    margin: 0;
    flex: 1;
}

.inquiry-header h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.inquiry-header h3 a:hover {
    color: var(--primary-color);
}

.inquiry-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.inquiry-preview {
    color: var(--text-light);
    line-height: 1.6;
}

.inquiry-detail-section {
    padding: 2rem 0;
}

.inquiry-detail-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.inquiry-detail-header h2 {
    margin: 0;
    flex: 1;
}

.inquiry-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.inquiry-content-box,
.inquiry-answer-box {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.inquiry-content-box h3,
.inquiry-answer-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-text,
.answer-text {
    white-space: pre-wrap;
    line-height: 1.8;
    color: var(--text-color);
}

.answer-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

.inquiry-answer-form {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.inquiry-waiting {
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    color: var(--text-light);
}

.inquiry-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.status-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    cursor: pointer;
}

.admin-inquiries-section {
    padding: 2rem 0;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    background: white;
    transition: all 0.2s;
}

.filter-btn:hover {
    background-color: var(--bg-light);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.inquiries-table {
    overflow-x: auto;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiries-table table {
    width: 100%;
    border-collapse: collapse;
}

.inquiries-table th,
.inquiries-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.inquiries-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
}

.inquiries-table tr:hover {
    background-color: var(--bg-light);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.status-answered {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.status-closed {
    background-color: #e5e7eb;
    color: #374151;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.empty-state p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .inquiry-detail-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .inquiry-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .admin-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
    }
    
    .inquiries-table {
        font-size: 0.875rem;
    }
    
    .inquiries-table th,
    .inquiries-table td {
        padding: 0.5rem;
    }
}

/* 공지사항 모던 스타일 */
.notices-list-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.notices-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.notice-card-modern {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notice-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.notice-card-modern:hover::before {
    opacity: 1;
}

.notice-card-modern.important {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.notice-card-modern.important::before {
    background: #ef4444;
    opacity: 1;
}

.notice-badge-important {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.badge-icon {
    font-size: 0.875rem;
}

.notice-card-content {
    flex: 1;
}

.notice-card-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.notice-card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.notice-card-title a:hover {
    color: var(--primary-color);
}

.notice-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.notice-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-icon {
    font-size: 0.875rem;
}

.notice-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.notice-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.notice-read-more:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

.notice-detail-section {
    padding: 2rem 0;
}

.notice-detail-modern {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.notice-important-banner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.important-icon {
    font-size: 1.25rem;
}

.notice-header-modern {
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.notice-title-modern {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    line-height: 1.3;
}

.notice-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.meta-item-modern {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-item-modern .meta-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.meta-item-modern .meta-value {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.notice-content-modern {
    padding: 2rem;
    min-height: 200px;
}

.content-text-modern {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-wrap;
}

.notice-actions-modern {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .notices-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .notice-card-modern {
        padding: 1.25rem;
    }
    
    .notice-title-modern {
        font-size: 1.5rem;
    }
    
    .notice-meta-modern {
        gap: 1rem;
    }
    
    .notice-header-modern,
    .notice-content-modern,
    .notice-actions-modern {
        padding: 1.5rem;
    }
}

