/* ==========================================================================
   DigitalCerti 커스텀 스타일
   ========================================================================== */

/* Google Fonts 임포트 - 가독성 높은 폰트들 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Pretendard 폰트 추가 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* 기본 폰트 및 색상 설정 - 가독성 최적화 */
html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: 'Inter', 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    /* 가독성을 위한 진한 회색 */
    margin: 0;
    padding: 0;
    font-size: 16px;
    /* 가독성을 위해 폰트 크기 증가 */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    /* 자간 조정으로 가독성 향상 */
}

/* 제목 폰트 최적화 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', 'Noto Sans KR', 'Pretendard', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1A202C;
    letter-spacing: -0.02em;
}

/* 본문 텍스트 최적화 */
p,
li,
span {
    line-height: 1.7;
    color: #4A5568;
}

/* 강조 텍스트 */
strong,
b {
    font-weight: 600;
    color: #1A202C;
}

/* 색상 커스텀 CSS 변수 정의 */
:root {
    --primary-color: #1A223E;
    /* 다크블루 */
    --secondary-color: #6B7684;
    /* 보조 텍스트 그레이 */
    --accent-color: #00C896;
    /* 포인트 컬러 - 민트 */
    --accent-alt-color: #2ED47A;
    /* 대체 포인트 컬러 - 그린 */
    --warning-color: #FFD700;
    /* 경고/강조 색상 */
    --background-light: #F8F9FA;
    /* 밝은 배경 */
    --border-radius: 0.5rem;
    /* 라운드 처리 기본값 */
    --shadow-subtle: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-regular: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Header 스타일 */
.header-modern {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e9ecef;
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1);
}

/* 링크 스타일 재정의 */
a,
.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
.btn-link:hover {
    color: var(--accent-alt-color);
}

/* 버튼 스타일 커스터마이징 */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.3);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--accent-alt-color);
    border-color: var(--accent-alt-color);
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 200, 150, 0.3);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero 섹션 스타일 */
.hero-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem 0;
}

.min-vh-80 {
    min-height: 75vh;
    /* 높이 축소 */
}

.hero-content {
    padding: 1rem 0;
}

.hero-tag .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.875rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.4rem;
    /* 크기 축소 */
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

.hero-actions {
    margin-bottom: 2rem;
}

.hero-actions .btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.hero-stats .stat-item {
    padding: 0.5rem 0;
}

.hero-stats .stat-number {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.hero-stats .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero 이미지 컨테이너 */
.hero-image-container {
    padding: 1rem;
}

.hero-image-container img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.hero-overlay-card {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

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

.bg-gradient-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-alt-color) 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #FFB347 0%, var(--warning-color) 100%);
}

/* Hero 이미지 플레이스홀더 스타일 */
.hero-image-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
}

/* 애니메이션 효과 */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 최소 뷰포트 높이 설정 */
.min-vh-75 {
    min-height: 75vh;
}

/* 카드 컴포넌트 스타일 개선 */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-regular);
}

.card-body {
    padding: 1.5rem;
}

/* 그림자 효과 클래스 */
.shadow-sm {
    box-shadow: var(--shadow-subtle) !important;
}

.shadow {
    box-shadow: var(--shadow-regular) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* 네비게이션 스타일 */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 400;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    color: #6c757d;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(0, 200, 150, 0.1);
}

/* 둥근 버튼 (우측 하단 스크롤 버튼) */
.btn.rounded-circle {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 폼 요소 스타일링 */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 150, 0.25);
}

/* 텍스트 색상 유틸리티 */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-muted {
    color: var(--secondary-color) !important;
}

/* 배경 색상 유틸리티 */
.bg-light {
    background-color: var(--background-light) !important;
}

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .hero-section-modern {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

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

    .hero-actions {
        margin-bottom: 2rem;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card-body.p-5 {
        padding: 2rem !important;
    }

    .hero-image-placeholder {
        min-height: 200px;
    }

    .hero-overlay-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin-top: 1rem;
        max-width: 100% !important;
    }

    .hero-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0 !important;
        padding: 1rem 2rem;
    }

    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1.1rem;
    }

    .hero-stats .stat-label {
        font-size: 0.75rem;
    }

    /* 모바일에서 좌우 비율 조정 */
    .col-lg-4,
    .col-lg-8 {
        margin-bottom: 2rem;
    }
}

/* 기존 Blazor 스타일 유지 */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--accent-color);
}

/* Accordion 관련 focus 스타일 개선 */
.accordion-button:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

/* 이벤트 섹션 스타일 */
.events-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* 지도 섹션 개선 */
.map-container {
    transition: box-shadow 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}

.map-container:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.map-container h5 {
    font-size: 1.1rem;
}

.map-container p {
    font-size: 0.85rem;
}

/* Leaflet 지도 커스터마이징 */
.leaflet-popup-content-wrapper {
    border-radius: 0.5rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-tip {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom {
    border-radius: 0.5rem !important;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

.leaflet-control-zoom a {
    background-color: white !important;
    color: var(--primary-color) !important;
    font-weight: bold !important;
    border-radius: 0.25rem !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--accent-color) !important;
    color: white !important;
}

/* 커스텀 마커 애니메이션 */
.custom-marker {
    transition: transform 0.3s ease;
}

.custom-marker:hover {
    transform: scale(1.2);
}

/* FAQ 섹션 애니메이션 */
.faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E0;
}

.faq-item .accordion-button {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #1A202C;
    padding: 1.25rem 1.5rem;
    border: none;
    background: #FFFFFF;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.faq-item .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    border-color: #4299E1;
}

.faq-item .accordion-button:not(.collapsed) {
    background: #F7FAFC;
    color: #1A202C;
    border-bottom: 1px solid #E2E8F0;
}

.faq-item:hover .accordion-button {
    background: #F7FAFC;
}

.faq-item .accordion-body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #4A5568;
    padding: 1.5rem;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
}

/* Footer 스타일 */
.footer-main {
    background-color: #1a1a1a !important;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
}

.newsletter-section h2 {
    font-size: 1.75rem;
}

.newsletter-section p {
    font-size: 0.95rem;
}

/* 섹션별 폰트 크기 조정 */
.display-6 {
    font-size: 2rem !important;
}

.lead {
    font-size: 1rem !important;
}

.card-body h4 {
    font-size: 1.25rem;
}

.card-body p {
    font-size: 0.9rem;
}

.card-body ul li {
    font-size: 0.9rem;
}

/* 버튼 폰트 크기 */
.btn-lg {
    font-size: 0.95rem !important;
    padding: 0.75rem 1.5rem !important;
}

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .hero-section-modern {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        margin-bottom: 2rem;
    }

    .display-6 {
        font-size: 1.75rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card-body.p-5 {
        padding: 2rem !important;
    }

    .hero-image-placeholder {
        min-height: 200px;
    }

    .hero-overlay-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin-top: 1rem;
        max-width: 100% !important;
    }

    .hero-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0 !important;
        padding: 1rem 2rem;
    }

    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1rem;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
    }

    /* 모바일에서 좌우 비율 조정 */
    .col-lg-4,
    .col-lg-8 {
        margin-bottom: 2rem;
    }

    .newsletter-section h2 {
        font-size: 1.5rem;
    }

    .newsletter-section p {
        font-size: 0.9rem;
    }
}

/* 스크롤 투 탑 버튼 */
.scroll-to-top-fixed {
    z-index: 1050;
}

.scroll-to-top-fixed .btn {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top-fixed .btn:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--accent-alt-color) !important;
    border-color: var(--accent-alt-color) !important;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 200, 150, 0.4) !important;
}

.scroll-to-top-fixed .btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* 앵커 링크를 위한 스타일 */
#top-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
}

/* CTA 버튼 부드러운 펄스 애니메이션 */
.cta-pulse {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 200, 150, 0.35) !important;
}

.cta-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.45);
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 200, 150, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0);
    }
}

/* 업로드 드롭존 스타일 */
.dropzone {
    border: 2px dashed #ced4da;
    border-radius: 0.75rem;
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dropzone:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 200, 150, 0.15);
    transform: translateY(-2px);
}

/* Blazor 오류 UI 스타일 - 기본적으로 숨김 처리 */
#blazor-error-ui {
    background: #b32121;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    /* 기본적으로 숨김 */
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    font-size: 0.875rem;
}

/* 오류 발생 시에만 표시 */
#blazor-error-ui.show {
    display: block;
}

/* 오류 UI 내부 요소 스타일 */
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.2rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

#blazor-error-ui .dismiss:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#blazor-error-ui .reload {
    color: #FFD700;
    text-decoration: underline;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

#blazor-error-ui .reload:hover {
    color: #FFF;
    text-decoration: none;
}

/* ==========================================================================
   TOAST UI Editor 커스텀 스타일 - 툴팁만 수정
   ========================================================================== */

/* 한국어 주석: TOAST UI Editor 툴팁 가독성 개선 - 최고 우선순위로 강제 적용 */
html body .toastui-editor-defaultUI .toastui-editor-tooltip,
html body .toastui-editor .toastui-editor-tooltip,
html body .toastui-editor-tooltip,
html body div.toastui-editor-tooltip,
body .toastui-editor-tooltip,
.toastui-editor-tooltip {
    background-color: #333 !important;
    color: #ffffff !important;
    border: 1px solid #666 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    max-width: 200px !important;
    word-wrap: break-word !important;
}

/* 한국어 주석: 툴팁 텍스트 색상 강제 적용 - 모든 하위 요소에도 적용 */
html body .toastui-editor-tooltip *,
body .toastui-editor-tooltip *,
.toastui-editor-tooltip * {
    color: #ffffff !important;
}

.toastui-editor-defaultUI .toastui-editor-tooltip::before,
.toastui-editor .toastui-editor-tooltip::before,
.toastui-editor-tooltip::before,
div.toastui-editor-tooltip::before {
    border-top-color: #333 !important;
}

/* ==========================================================================
   SweetAlert2 - Google One UI 스타일 커스텀
   ========================================================================== */

/* 한국어 주석: 모달 팝업 기본 스타일 */
.modern-swal-popup {
    border-radius: 24px !important;
    padding: 32px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    font-family: 'Inter', 'Noto Sans KR', 'Pretendard', sans-serif !important;
    max-width: 400px !important;
}

/* 한국어 주석: 제목 스타일 */
.modern-swal-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1A202C !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
}

/* 한국어 주석: 본문 텍스트 스타일 */
.modern-swal-text {
    font-size: 15px !important;
    color: #5F6368 !important;
    line-height: 1.6 !important;
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
}

/* 한국어 주석: 확인 버튼 (삭제 버튼) */
.modern-swal-confirm {
    background: #EA4335 !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-width: 80px !important;
    height: 40px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    margin: 0 8px !important;
}

.modern-swal-confirm:hover {
    background: #D33828 !important;
    box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3) !important;
}

.modern-swal-confirm:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(234, 67, 53, 0.2) !important;
}

/* 한국어 주석: 취소 버튼 */
.modern-swal-cancel {
    background: #F8F9FA !important;
    color: #5F6368 !important;
    border: 1px solid #DADCE0 !important;
    border-radius: 20px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-width: 80px !important;
    height: 40px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    margin: 0 8px !important;
}

.modern-swal-cancel:hover {
    background: #E8EAED !important;
    border-color: #DADCE0 !important;
}

.modern-swal-cancel:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(95, 99, 104, 0.1) !important;
}

/* 한국어 주석: 아이콘 스타일 */
.swal2-icon.swal2-warning {
    border-color: #FFA726 !important;
    color: #FFA726 !important;
}

/* 한국어 주석: 버튼 컨테이너 */
.swal2-actions {
    margin-top: 20px !important;
    gap: 8px !important;
}

/* 한국어 주석: 애니메이션 */
.swal2-show {
    animation: swal2-show 0.2s ease-out !important;
}

.swal2-hide {
    animation: swal2-hide 0.15s ease-in !important;
}