/* Custom CSS */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.025em;
}

.create-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.create-btn:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.board-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.board-content {
    padding: 1.5rem;
}

.board-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.board-title a {
    text-decoration: none;
    color: #2563eb;
    transition: color 0.2s;
}

.board-title a:hover {
    color: #1d4ed8;
}

.board-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.board-stats {
    font-size: 0.875rem;
    color: #6b7280;
}

.board-footer {
    background: #f9fafb;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
}

.view-posts {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.view-posts:hover {
    color: #2563eb;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.edit-btn {
    color: #f59e0b;
}

.edit-btn:hover {
    color: #d97706;
}

.delete-btn {
    color: #ef4444;
}

.delete-btn:hover {
    color: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: #f9fafb;
    border-radius: 1rem;
    border: 2px dashed #e5e7eb;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #6b7280;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.back-btn:hover {
    background-color: #4b5563;
}

/* 기존 CSS에 추가할 코트 정보 관련 스타일 */

.court-info {
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    margin: 0 auto 1.5rem; /* 중앙 정렬 */
}

.court-info .flex-grow h2 {
    font-size: 1.125rem; /* text-lg 크기 축소 */
    margin-bottom: 0.5rem; /* 여백 축소 */
}

.court-info .grid {
    grid-gap: 0.75rem; /* gap 축소 */
}

.court-info .text-sm {
    font-size: 0.813rem; /* 텍스트 크기 약간 축소 */
}

.court-info svg {
    width: 1rem; /* 아이콘 크기 축소 */
    height: 1rem;
    margin-right: 0.5rem; /* 여백 축소 */
}

.court-info .mt-3 {
    margin-top: 0.5rem; /* 상단 여백 축소 */
}

.court-info .text-gray-600 {
    line-height: 1.4;
}

.court-info .p-4 {
    padding: 1rem; /* 내부 여백 축소 */
}

.court-info .mb-4 {
    margin-bottom: 0.75rem; /* 하단 여백 축소 */
}

/* 관리자 버튼 크기 조정 */
.court-info .flex.space-x-2 svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* 설명 텍스트 제한 */
.court-info .text-gray-600 {
    max-width: 600px; /* 텍스트 최대 너비 제한 */
}

@media (max-width: 768px) {
    .court-info {
        margin: 0 0 1rem; /* 모바일에서 여백 축소 */
    }

    .court-info .grid {
        grid-template-columns: 1fr;
        grid-gap: 0.5rem;
    }
}
