@import url("https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard.min.css");

:root {
    /* 배경색 */
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --bg-heavy-light: #e9e9e9;

    /* 상태 컬러 */
    --success-color: #2ecc71; /* 초록색 계열 */
    --danger-color: #e74c3c; /* 빨간색 계열 */
    --warning-color: #f1c40f; /* 노란색 계열 */
    --info-color: #3498db; /* 파란색 계열 */

    /* 텍스트 & 보더 */
    --text-color: #2c3e50; /* 진한 텍스트 */
    --text-light: #ffffff; /* 밝은 텍스트 */
    --text-muted: #7f8c8d; /* 흐린 텍스트 */
    --border-color: #bdc3c7; /* 보더 */

    /* 강조색 */
    --accent-color: #ffa726; /* 주황색 계열 */
    --accent-hover-color: #ff9100; /* 진한 주황색 */

    /* Primary colors */
    --primary-color: #2256b2;
    --primary-hover-color: #1a4a9a;
    --primary-color-5: rgba(34, 86, 178, 0.05);
    --primary-color-10: rgba(34, 86, 178, 0.1);
    --primary-color-50: rgba(34, 86, 178, 0.5);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Pretendard", sans-serif;
    background-color: var(--bg-light);
}

body {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

button {
    font-family: "Pretendard", sans-serif;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Spotlite-style Header */
.nav-wrapper {
    background: #000000;
    position: relative;
    z-index: 1000;
}

.sub-nav {
    background: #000000;
    padding: 0;
    margin: 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo_text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-decoration: none;
}

.logo_text:hover {
    color: #ffffff;
    text-decoration: none;
}

.nav-link-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-button,
.logout-button,
.contact-button {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.login-button {
    background: #007bff;
    border-color: #007bff;
}

.login-button:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
}

.logout-button,
.contact-button {
    background: transparent;
    border-color: #ffffff;
}

.logout-button:hover,
.contact-button:hover {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
}

.logout-form {
    display: inline;
}

.logout-form button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

/* Sub navigation */
.home-sub-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
}

.sub-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    height: 50px;
    align-items: center;
}

.sub-nav-link {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.sub-nav-link:hover {
    color: #007bff;
    border-bottom-color: #007bff;
    text-decoration: none;
}

/* Mobile responsiveness - Improved Design */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        padding: 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 8px;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links a {
        padding: 16px 20px;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-weight: 500;
        font-size: 1.1rem;
        text-align: center;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.12);
        transform: translateX(6px);
    }

    .navbar-brand {
        font-size: 1.4rem;
        font-weight: 700;
    }
}

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

    .sub-nav-content {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* 드롭다운 메뉴 스타일 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

/* 폼 스타일 */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: "Pretendard", sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(34, 86, 178, 0.25);
}

/* 버튼 스타일 */
.btn {
    transition: all 0.2s ease-in-out;
    font-family: "Pretendard", sans-serif;
    border-radius: 0.5rem;
}

.btn:hover {
    transform: translateY(-1px);
}

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

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

/* 카드 스타일 */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

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

/* 배지 스타일 */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

/* 알림 스타일 */
.alert {
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* 메시지 스타일 */
.messages {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 1;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
}

.message::before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.message.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.message.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z'/%3E%3C/svg%3E");
}

.message.info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border-left: 4px solid #3498db;
}

.message.info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.message.warning {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f39c12;
    border-left: 4px solid #f1c40f;
}

.message.warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f1c40f'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 아이콘 스타일 */
.fas,
.fab {
    transition: transform 0.2s ease-in-out;
}

.btn:hover .fas,
.btn:hover .fab {
    transform: scale(1.1);
}

/* 반응형 텍스트 - 개선된 모바일 타이포그래피 */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.2rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .display-5 {
        font-size: 1.8rem;
        line-height: 1.3;
        font-weight: 600;
    }

    .lead {
        font-size: 1.1rem;
        line-height: 1.5;
        font-weight: 400;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 텍스트 선택 색상 */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* 그라데이션 배경 */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6610f2 100%);
}

/* 헤더 버튼 스타일 */
.header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    margin-bottom: 8px;
    font-size: 28px;
    color: var(--text-color);
    font-weight: 700;
}

.header-title p {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0;
}

.header-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 검색 및 필터 영역 */
.query-container {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-container input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 44px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: "Pretendard", sans-serif;
}

.search-container input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 86, 178, 0.1);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--text-muted);
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: var(--primary-color);
}

/* 모바일 반응형 - 폼 및 검색 최적화 */
@media (max-width: 480px) {
    .query-container {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
        border-radius: 20px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    .search-container {
        min-width: 100%;
        margin-bottom: 8px;
    }

    .form-control {
        padding: 16px 20px;
        font-size: 1.1rem;
        border-radius: 14px;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
        background: #fafafa;
    }

    .form-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
        background: white;
        transform: translateY(-1px);
    }

    .header-title {
        text-align: center;
        margin-bottom: 24px;
    }

    .header-title h1 {
        font-size: 2rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 12px;
        color: #2c3e50;
    }
    
    .header-title p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #7f8c8d;
        font-weight: 400;
    }

    .header-with-button {
        align-items: center;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .btn {
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 52px;
        width: 100%;
        max-width: 280px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

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

/* 페이지네이션 스타일 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover:not(.disabled):not(.current) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(34, 86, 178, 0.05);
}

.pagination-link.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* 로딩 스피너 */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* 메인 컨텐츠 컨테이너 */
main {
    flex: 1;
    background-color: var(--bg-light);
}

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

/* 리스트 그룹 스타일 개선 */
.list-group {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px;
    transition: all 0.2s ease;
    background-color: white;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: none;
}

.list-group-item-action {
    cursor: default;
}

/* 오픈매트 리스트 아이템 스타일 */
.openmat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.openmat-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.openmat-content {
    flex: 1;
    min-width: 0;
}

.openmat-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    padding: 0 12px;
}

.openmat-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.openmat-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.openmat-info {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.openmat-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.openmat-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.openmat-buttons {
    display: flex;
    gap: 8px;
}

/* 반응형 개선 - 모바일 최적화 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    body {
        font-size: 16px;
        line-height: 1.6;
    }

    .main-content {
        padding: 20px 0;
    }

    .openmat-item {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px 20px;
        border-radius: 16px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
        background: white;
        margin-bottom: 24px;
        border: 1px solid #f0f0f0;
    }

    .openmat-image {
        width: 100%;
        height: 220px;
        border-radius: 12px;
        object-fit: cover;
        margin-bottom: 4px;
    }

    .openmat-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 8px;
    }

    .openmat-actions {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid #f0f0f0;
    }

    .openmat-buttons {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .openmat-title {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 12px;
        color: #2c3e50;
        padding: 0 12px;
    }

    .openmat-subtitle {
        font-size: 1.1rem;
        color: #7f8c8d;
        margin-bottom: 16px;
        font-weight: 500;
    }

    .openmat-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #34495e;
    }

    .openmat-details {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .detail-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        color: #555;
    }

    .detail-item i {
        width: 16px;
        color: #007bff;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .footer-section p,
    .footer-section a {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding: 30px 20px;
        text-align: center;
    }
}

/* 기존 테이블 스타일 (하위 호환성) */
table {
    width: 100%;
    border-collapse: collapse;
}
th,
td {
    border: 1px solid #ddd;
}
th {
    background: #f7f7f7;
    text-align: left;
}
input,
select,
button {
    padding: 6px 8px;
}
button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background: var(--primary-hover-color);
}

/* 오픈맷 상세 페이지 - 세련된 커스텀 디자인 */
.openmat-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
    background: #fafbfc;
    min-height: 100vh;
}

/* 헤더 */
.openmat-header {
    background: white;
    margin: -20px -20px 30px;
    padding: 30px 20px;
    color: #2c3e50;
    border-bottom: 1px solid #e8ecf0;
}

.openmat-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.openmat-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    color: #2c3e50;
}

.openmat-subtitle {
    font-size: 1rem;
    margin: 0;
    color: #6c757d;
    font-weight: 400;
}

.openmat-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid #e8ecf0;
}

.edit-btn {
    background: white;
    color: #6c757d;
    border-color: #e8ecf0;
}

.edit-btn:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
    text-decoration: none;
}

.delete-btn {
    background: white;
    color: #dc3545;
    border-color: #dc3545;
}

.delete-btn:hover {
    background: #dc3545;
    color: white;
    text-decoration: none;
}

/* 이미지 섹션 */
.openmat-image-section {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 4px;
}

.openmat-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border-radius: 16px;
}

/* 정보 섹션 */
.openmat-info-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.info-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 24px;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card-header i {
    font-size: 1.2rem;
    color: #6c757d;
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.info-card-content {
    padding: 24px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.info-label i {
    color: #6c757d;
    width: 16px;
    text-align: center;
}

.info-value {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.5;
    margin-left: 24px;
}

.map-link {
    margin-top: 12px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.website-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.website-link:hover {
    color: #764ba2;
    text-decoration: none;
}

/* 하단 액션 */
.openmat-footer-actions {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    border: 2px solid #e8ecf0;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* 반응형 - 오픈맷 상세 페이지 모바일 최적화 */
@media (max-width: 768px) {
    .openmat-detail-container {
        padding: 0 20px 40px;
    }

    .openmat-header {
        margin: -20px -20px 30px;
        padding: 30px 20px;
        border-radius: 0 0 20px 20px;
    }

    .openmat-title {
        font-size: 2rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .openmat-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .openmat-header-content {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .openmat-actions {
        align-self: stretch;
        justify-content: center;
        flex-direction: row;
        gap: 12px;
        margin-top: 8px;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
        min-width: 100px;
        padding: 12px 16px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 10px;
    }

    .openmat-info-grid {
        gap: 20px;
    }

    .openmat-main-image {
        height: 250px;
    }

    .info-card-content {
        padding: 20px;
    }

    .info-value {
        margin-left: 20px;
    }
}

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

    .openmat-item {
        padding: 20px 16px;
        margin-bottom: 20px;
    }

    .openmat-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .openmat-subtitle {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .openmat-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .action-btn {
        padding: 12px 14px;
        font-size: 0.9rem;
        min-width: 90px;
    }

    .openmat-main-image {
        height: 200px;
    }

    .home-hero {
        padding: 40px 16px;
        margin: -16px -16px 30px;
    }

    .home-title {
        font-size: 2rem;
        gap: 16px;
    }

    .home-subtitle {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 14px 24px;
        font-size: 1rem;
        max-width: 260px;
    }
}

/* 홈페이지 - 세련된 커스텀 디자인 */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: #fafbfc;
    min-height: 100vh;
}

/* 히어로 섹션 */
.home-hero {
    background: #2c3e50;
    margin: -20px -20px 30px;
    padding: 40px 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.home-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.home-hero-text {
    flex: 1;
}

.home-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-logo {
    height: 50px;
    width: auto;
}

.home-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
}

.home-hero-image {
    flex-shrink: 0;
}

.hero-logo {
    width: 150px;
    height: auto;
    opacity: 0.8;
}

/* 오픈맷 통합 섹션 */
.openmat-section {
    margin: 0;
    padding: 10px 10px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    overflow: hidden;
}

.openmat-header {
    padding: 40px 40px 30px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.openmat-title-section {
    flex: 1;
    min-width: 0;
    margin-right: 20px;
}

.openmat-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.openmat-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.openmat-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.openmat-stats {
    padding: 30px 40px 40px;
    background: white;
}

.stats-header {
    text-align: center;
    margin-bottom: 25px;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2c3e50 0%, #3498db 50%, #2c3e50 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(44, 62, 80, 0.4);
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #2c3e50;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 메인 컨텐츠 */
.intro-section {
    margin-bottom: 30px;
}

.intro-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

/* 국내 대회 정보 섹션 */
.competition-section {
    margin: 30px 0;
}

.competition-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.competition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.competition-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.competition-content {
    flex: 1;
}

.competition-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.competition-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.competition-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.primary-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    color: white;
    text-decoration: none;
}

.outline-btn {
    background: white;
    color: #2c3e50;
    border-color: #2c3e50;
}

.outline-btn:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
    text-decoration: none;
}

/* 반응형 - 모바일 홈페이지 최적화 */
@media (max-width: 768px) {
    .home-container {
        padding: 0;
    }

    .home-hero {
        border-radius: 0 0 24px 24px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    }

    .home-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        max-width: 100%;
    }

    .home-title {
        font-size: 2.4rem;
        flex-direction: column;
        gap: 20px;
        font-weight: 800;
        line-height: 1.1;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .home-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        opacity: 0.95;
        color: white;
        font-weight: 400;
        max-width: 90%;
        margin: 0 auto;
    }

    .home-cta {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 8px;
    }

    .btn-primary,
    .btn-outline-primary {
        width: 100%;
        max-width: 300px;
        padding: 16px 28px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .btn-primary:hover,
    .btn-outline-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .home-logo {
        height: 45px;
    }

    .hero-logo {
        width: 120px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 1.8rem;
    }

    .home-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .openmat-header {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }

    .openmat-actions {
        align-self: stretch;
        justify-content: center;
        flex-direction: row;
        gap: 6px;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
        min-width: 70px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .openmat-stats {
        padding: 25px 30px 30px;
    }

    .openmat-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-card .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .competition-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .competition-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .competition-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .home-title {
        font-size: 1.8rem;
    }

    .home-subtitle {
        font-size: 1rem;
    }

    .openmat-header {
        padding: 25px 20px;
    }

    .openmat-stats {
        padding: 20px 20px 25px;
    }

    .openmat-title {
        font-size: 1.6rem;
    }

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

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .competition-card {
        padding: 25px 20px;
    }

    .competition-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .competition-title {
        font-size: 1.4rem;
    }
}

/* 오픈맷 목록 페이지 - 개선된 카드 레이아웃 */
.openmat-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf0;
    overflow: visible;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
}

.openmat-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.openmat-card:hover {
    transform: none;
    box-shadow: none;
}

.openmat-image-container {
    width: 280px;
    height: auto;
    overflow: hidden;
    position: relative;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border-radius: 12px;
}

.openmat-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.openmat-card:hover .openmat-image {
    transform: scale(1.05);
}

.openmat-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.openmat-header {
    margin-bottom: 12px;
}

.openmat-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.openmat-topic {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.topic-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.topic-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.topic-badge:last-child {
    margin-right: 0;
}

.openmat-description {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.openmat-description p {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.openmat-details {
    margin-bottom: 12px;
}

.detail-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.detail-item i {
    color: #2c3e50;
    width: 16px;
    text-align: center;
}

.openmat-price {
    display: flex;
    align-items: center;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

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

.openmat-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .openmat-card {
        flex-direction: column;
    }

    .openmat-image-container {
        width: 100%;
        height: 220px;
    }

    .openmat-image {
        width: 100%;
        height: 100%;
    }

    .openmat-content {
        padding: 16px;
    }

    .openmat-title {
        font-size: 1.3rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 8px;
    }

    .openmat-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .openmat-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .openmat-image-container {
        height: 200px;
    }

    .openmat-image {
        width: 100%;
        height: 100%;
    }

    .openmat-content {
        padding: 14px;
    }

    .openmat-title {
        font-size: 1.2rem;
    }

    .detail-item {
        font-size: 0.85rem;
    }
}

/* 오픈맷 목록 페이지 - 세련된 버튼 스타일 */
.create-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    border: none;
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    color: white;
    text-decoration: none;
}

.create-btn i {
    font-size: 1rem;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.detail-btn:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
    text-decoration: none;
}

.registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.registration-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    text-decoration: none;
}

.website-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border: 2px solid #e8ecf0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.website-btn:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.openmat-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.openmat-buttons .detail-btn,
.openmat-buttons .registration-btn,
.openmat-buttons .website-btn {
    flex-shrink: 0;
}

/* 반응형 버튼 조정 - 모바일 최적화 */
@media (max-width: 768px) {
    .create-btn {
        padding: 12px 24px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }

    .detail-btn,
    .registration-btn,
    .website-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 500;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .detail-btn:hover,
    .registration-btn:hover,
    .website-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .openmat-buttons {
        flex-direction: row;
        gap: 10px;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .openmat-buttons .detail-btn,
    .openmat-buttons .registration-btn,
    .openmat-buttons .website-btn {
        justify-content: center;
    }
}

/* CSRF 토큰 숨기기 */
input[name="csrfmiddlewaretoken"] {
    display: none !important;
}

/* 접수 안내 텍스트 스타일 */
.registration-info-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.registration-info-text:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
}
