@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@font-face {
    font-family: 'SebangGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

.title-text {
    font-family: 'SebangGothic';
    font-weight: 700;
    color: black;
    text-decoration: none;
}

html * {font-family: 'Pretendard'; font-weight: 400;}
html, body { font-family: 'Suit', sans-serif; font-size: 14px; margin: 0; padding: 0; overflow-x: hidden; }
.main-container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.fc-daygrid-day-frame { min-height: 100px !important; }
.fc-event { cursor: pointer; }
.hidden { display: none !important; }
.login-card { width: 100%; max-width: 400px; padding: 2rem; background: white; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.card { width: 100%; padding: 2rem; }
/* 불가 시간(배경) 스타일 */
.blocked-event {
    background: repeating-linear-gradient(
            45deg,
            #e9ecef,
            #e9ecef 10px,
            #dee2e6 10px,
            #dee2e6 20px
    ) !important;
    opacity: 0.6;
    border: none !important;
}
.blocked-event-title {
    color: #495057;
    font-size: 0.85em;
    font-weight: bold;
    padding: 2px 5px;
    text-align: center;
}

/* 모달 스타일 */
.rule-badge { padding: 5px 10px; border-radius: 15px; color: white; font-size: 0.8em; }

@media (max-width: 768px) {
    .main-container { margin: 20px auto; padding: 0 10px; }
    body { font-size: 12px; }
    .fc-daygrid-day-frame { min-height: 120px !important; }
    .fc-header-toolbar { flex-wrap: wrap; gap: 5px; margin-bottom: 1em !important; }
    .fc-toolbar-title { font-size: 1.2em !important; }
    .fc-button { padding: 0.25rem 0.5rem !important; font-size: 0.8em !important; }
    .responsive-btn { padding: 0.25rem 0.5rem !important; font-size: 0.75rem !important; }
}
.sheet-card {
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
}
.sheet-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* 삭제 버튼은 카드 위에 둥둥 떠있음 */
.btn-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10; /* 클릭 시 카드 이동 방지 */
    opacity: 0.5;
}
.btn-delete:hover { opacity: 1; background-color: #dc3545; color: white; }
.sheet-container { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); max-width: 1000px; margin: 0 auto; }
/* 자동저장 인디케이터 */
#saveStatus { position: fixed; bottom: 20px; right: 20px; padding: 10px 20px; border-radius: 20px; background: #333; color: white; opacity: 0; transition: opacity 0.5s; }
.visible { opacity: 1 !important; }
.fc-event { cursor: pointer; }
.fc-daygrid-day-frame { min-height: 100px; }
.hidden { display: none !important; }

.rule-badge { font-size: 0.8em; padding: 4px 8px; border-radius: 12px; color: white; margin-left: 8px; vertical-align: middle; }

/* 개인 일정(배경) 스타일 */
.blocked-time-bg {
    background: repeating-linear-gradient(45deg, #ffebee, #ffebee 10px, #ffcdd2 10px, #ffcdd2 20px) !important;
    opacity: 0.6; pointer-events: none;
}
.team-card {
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }

nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.sticky-top {
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: block;
    }
}
.navbar-brand {
    margin-left: 30px;
    font-size: 25px;
}