* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 네비게이션 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-register {
    background-color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.btn-register:hover {
    background-color: #ff5252;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-username {
    color: white;
    font-weight: 500;
}

.btn-logout {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background-color: white;
    color: #667eea;
}

.nav-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 메인 컨텐츠 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 8rem;
    opacity: 0.8;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 기능 섹션 */
.features-section {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 페이지 헤더 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.auth-links {
    text-align: center;
    margin-top: 1rem;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* 알림 메시지 */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 게시판 */
.board-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.board-stats {
    color: #666;
}

.board-list {
    display: flex;
    flex-direction: column;
}

.board-header-row {
    display: grid;
    grid-template-columns: 1fr 150px 100px;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.board-row {
    display: grid;
    grid-template-columns: 1fr 150px 100px;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.board-row:hover {
    background-color: #f8f9fa;
}

.col-title a {
    color: #333;
    text-decoration: none;
}

.col-title a:hover {
    color: #667eea;
}

.col-date,
.col-views {
    text-align: center;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 공지사항 상세 */
.notice-detail {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.notice-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.notice-header h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.notice-meta {
    display: flex;
    gap: 2rem;
    color: #666;
}

.notice-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 공지사항 콘텐츠 스타일링 */
.content-formatted {
    line-height: 1.8;
    color: #333;
}

.announcement-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.announcement-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.announcement-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.announcement-section {
    background: #f8f9ff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.announcement-section h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e6ff;
    font-size: 1rem;
}

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

.feature-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 2rem;
    text-align: center;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.step-list li {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e6ff;
    font-size: 1rem;
}

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

.step-number {
    background: #667eea;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.announcement-alert {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
}

.alert-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.alert-content {
    flex: 1;
    line-height: 1.6;
}

.announcement-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.announcement-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.announcement-content p:last-child {
    margin-bottom: 0;
}

.highlight {
    background: linear-gradient(120deg, #a8e6cf 0%, #7fcdcd 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    color: #2d3748;
}

.schedule-info {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #3b82f6;
}

.schedule-info h4 {
    margin-bottom: 0.5rem;
    color: #1e40af;
    font-size: 1.1rem;
}

.event-benefit {
    background: #fef3e2;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #f59e0b;
}

.event-benefit h4 {
    margin-bottom: 0.5rem;
    color: #d97706;
    font-size: 1.1rem;
}

.notice-actions {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* 문의 폼 */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* 프로그램 페이지 */
.program-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.program-section {
    margin-bottom: 3rem;
}

.program-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.program-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-item {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.overview-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.feature-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

.requirement-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.requirement-item h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

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

.pricing-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #667eea;
    position: relative;
}

.pricing-card.featured::before {
    content: "이용 가능";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.pricing-card.disabled {
    opacity: 0.6;
    background: #f8f9fa;
    border-color: #ddd;
}

.pricing-card.disabled:hover {
    transform: none;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.pricing-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.pricing-status.available {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pricing-status.preparing {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-action {
    margin-top: 1rem;
}

.btn-disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
}

.pricing-notice {
    margin-top: 3rem;
}

.notice-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #e1bee7;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-icon {
    font-size: 2rem;
    color: #667eea;
    flex-shrink: 0;
}

.notice-content h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.notice-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.notice-actions {
    margin-top: 1rem;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s;
}

.notice-link:hover {
    background-color: #667eea;
    color: white;
}

/* 조건검색 게시판 스타일 */
.conditions-board {
    max-width: 1200px;
    margin: 0 auto;
}

.board-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.board-stats {
    display: flex;
    gap: 2rem;
    color: #666;
    flex-wrap: wrap;
    min-width: 0;
}

.board-stats span {
    font-size: 0.9rem;
    white-space: nowrap;
}

.posts-container {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.post-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.post-title a:hover {
    color: #667eea;
}

.paid-badge {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.5rem;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
}

.free-badge {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.5rem;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
}

.post-price {
    text-align: right;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.free-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.post-preview {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
    position: relative;
}

.preview-fade {
    background: linear-gradient(transparent, rgba(255,255,255,0.9));
    padding: 1rem 0;
    margin-top: -1rem;
    text-align: center;
}

.read-more {
    color: #667eea;
    font-style: italic;
    font-size: 0.9rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
    min-width: 0;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.post-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.like-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn:hover {
    background: #f0f0f0;
}

.like-btn.liked {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.view-count {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 게시글 상세보기 스타일 */
.post-detail {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.post-title-section h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.post-price-section {
    text-align: right;
}

.price-display {
    text-align: right;
}

.price-display .price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.free-display .free-price {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    display: block;
}

.free-label {
    color: #666;
    font-size: 0.9rem;
}

.post-actions-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-actions-top .like-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
}

.post-actions-top .like-btn:hover {
    background: #5a6fd8;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #f0f0f0;
}

.share-btn.bookmarked {
    background: #ffc107;
    color: white;
    border-color: #ffc107;
}

.post-content {
    line-height: 1.8;
    color: #333;
}

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

.preview-section h3 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.preview-text {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.payment-section {
    margin-top: 2rem;
}

.payment-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.payment-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-info .price {
    font-size: 2rem;
    font-weight: bold;
}

.payment-method {
    opacity: 0.8;
    font-size: 0.9rem;
}

.payment-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-btn:hover {
    background: #f0f0f0;
}

.payment-benefits {
    margin-top: 1.5rem;
}

.payment-benefits h4 {
    margin-bottom: 0.5rem;
}

.payment-benefits ul {
    list-style: none;
    padding: 0;
}

.payment-benefits li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.payment-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #90EE90;
    font-weight: bold;
}

.full-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.full-content h3 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #28a745;
}

.full-text {
    line-height: 1.8;
    white-space: pre-wrap;
}

.free-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.content-text {
    line-height: 1.8;
    white-space: pre-wrap;
}

.related-posts {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.related-posts h3 {
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.related-post {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.related-post:hover {
    transform: translateY(-2px);
}

.related-post h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.related-price {
    color: #667eea;
    font-weight: bold;
}

/* 글 작성 폼 스타일 */
.write-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.write-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-help {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.pricing-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.pricing-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-option {
    position: relative;
}

.pricing-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-option label {
    display: block;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-option input[type="radio"]:checked + label {
    border-color: #667eea;
    background: #f0f4ff;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.option-header i {
    color: #667eea;
    font-size: 1.2rem;
}

.option-header span {
    font-weight: bold;
    color: #333;
}

.option-description {
    color: #666;
    font-size: 0.9rem;
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency {
    font-weight: bold;
    color: #667eea;
}

.price-unit {
    color: #666;
}

.pricing-guide {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.pricing-guide h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-guide ul {
    list-style: none;
    padding: 0;
}

.pricing-guide li {
    padding: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #667eea;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #667eea;
    color: white;
}

.page-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

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

.modal-body {
    padding: 1.5rem;
}

.preview-post {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.preview-post h2 {
    color: #333;
    margin-bottom: 1rem;
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.preview-content {
    line-height: 1.8;
    color: #333;
}

/* 다운로드 섹션 */
.download-section {
    margin-bottom: 2rem;
}

.download-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.download-icon {
    font-size: 3rem;
    color: #667eea;
    background: white;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102,126,234,0.2);
}

.download-content {
    flex: 1;
}

.download-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.download-content p {
    color: #666;
    margin-bottom: 1rem;
}

.download-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-size: 0.9rem;
}

.download-info span.unavailable {
    color: #dc3545;
}

.download-action {
    display: flex;
    align-items: center;
}

.download-action .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-disabled {
    background-color: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    background-color: #6c757d;
    transform: none;
}

.download-notice {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.notice-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-card ul {
    list-style: none;
    padding: 0;
}

.notice-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.notice-card li:last-child {
    border-bottom: none;
}

.notice-card li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 상태 배지 */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* 에러 페이지 */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 1rem;
}

.error-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.error-content p {
    color: #666;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 푸터 */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 관리자 대시보드 */
.admin-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.stat-icon {
    font-size: 2rem;
    color: #667eea;
    background: white;
    padding: 1rem;
    border-radius: 50%;
}

.stat-icon.free-trial {
    color: #6c757d;
}

.stat-icon.premium {
    color: #ffc107;
}

.stat-icon.enterprise {
    color: #28a745;
}

.stat-icon.expired {
    color: #dc3545;
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.stat-content p {
    color: #666;
    margin: 0;
}

.users-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.users-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.users-table-container {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.users-table th,
.users-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.users-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.users-table tr:hover {
    background-color: #f8f9fa;
}

.grade-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.grade-free_trial {
    background-color: #e9ecef;
    color: #6c757d;
}

.grade-premium {
    background-color: #fff3cd;
    color: #856404;
}

.grade-enterprise {
    background-color: #d4edda;
    color: #155724;
}

.admin-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.admin-badge.admin {
    background-color: #d1ecf1;
    color: #0c5460;
}

.admin-badge.user {
    background-color: #f8f9fa;
    color: #6c757d;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.expired {
    color: #dc3545;
    font-weight: 500;
}

/* 관리자 드롭다운 */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 로그인 이력 스타일 */
.filter-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.filter-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.history-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.history-table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.history-table th,
.history-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.history-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.history-row.status-success {
    background-color: rgba(40, 167, 69, 0.05);
}

.history-row.status-failed {
    background-color: rgba(220, 53, 69, 0.05);
}

.status-badge.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.datetime {
    white-space: nowrap;
    font-size: 0.85rem;
}

.ip-address {
    font-family: monospace;
    font-size: 0.85rem;
}

.user-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.user-link:hover {
    text-decoration: underline;
}

.user-agent {
    max-width: 200px;
    font-size: 0.8rem;
    color: #666;
}

.notes {
    max-width: 150px;
    font-size: 0.85rem;
    color: #666;
}

.history-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

.user-info-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.user-info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.user-info-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.user-info-item strong {
    color: #333;
    margin-right: 0.5rem;
}

.grade-unknown {
    background-color: #6c757d;
    color: white;
}

.session-duration {
    font-family: monospace;
    font-size: 0.85rem;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: black;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-user {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu .nav-dropdown {
        width: 100%;
    }
    
    .nav-menu .dropdown-menu {
        position: static;
        display: block;
        background: rgba(255,255,255,0.1);
        box-shadow: none;
        border-radius: 0;
        margin-top: 0.5rem;
    }
    
    .nav-menu .dropdown-item {
        color: white;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-menu .dropdown-item:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        word-break: keep-all;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
        word-break: keep-all;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        word-break: keep-all;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image i {
        font-size: 4rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .board-header-row,
    .board-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .col-date,
    .col-views {
        text-align: left;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .requirements {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .download-content {
        text-align: center;
    }
    
    .download-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-action {
        width: 100%;
        justify-content: center;
    }
    
    .download-action .btn {
        width: auto;
        min-width: 150px;
    }
    
    .error-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-break: keep-all;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        word-break: keep-all;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        word-break: keep-all;
        margin-bottom: 1.5rem;
    }
    
    .features-section {
        padding: 2rem 0;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .requirements {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .download-content h3 {
        font-size: 1.3rem;
    }
    
    .download-info {
        gap: 1rem;
    }
    
    .download-info span {
        font-size: 0.85rem;
    }
}

/* 반응형 뷰 */
.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}

@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }
    
    .mobile-view {
        display: block;
    }
    
    /* 모바일 공지사항 스타일 */
    .notice-detail {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .announcement-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .announcement-header h3 {
        font-size: 1.4rem;
    }
    
    .announcement-subtitle {
        font-size: 1rem;
    }
    
    .announcement-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .announcement-section h4 {
        font-size: 1.1rem;
    }
    
    .feature-list li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    .step-list li {
        padding: 0.8rem 0;
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.8rem;
    }
    
    .announcement-alert {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .announcement-content {
        padding: 1rem;
    }
}

/* 모바일 공지사항 카드 */
.notice-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.notice-card-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

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

.notice-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.notice-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.notice-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.notice-meta i {
    font-size: 0.8rem;
}

.notice-arrow {
    color: #ccc;
    font-size: 0.9rem;
}

.notice-card:hover .notice-arrow {
    color: #667eea;
}

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

.page-btn {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.page-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    cursor: default;
}

.page-ellipsis {
    padding: 0.75rem 0.5rem;
    color: #666;
}

.pagination-info {
    text-align: center;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}