a{
text-decoration : none !important;
}

/* ===================== 전체 공통 ===================== */
#index-dashboard {
    padding: 40px;
    background: #f6f7fb;
    min-height: 95vh;
    font-family: 'Pretendard', sans-serif;
}

/* ===================== HERO (상단 인삿말) ===================== */
.dashboard-hero {
    margin-bottom: 45px;
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #222;
}

.hero-sub {
    font-size: 19px;
    color: #7b88a8;
    margin-top: 6px;
}

/* 대시보드 상단 그랜드 오픈 배너 (파스텔 블루 톤 유지) */
.dashboard-banner-open {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); 
    border-radius: 16px;
    padding: 24px 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0f2fe;
}

.dashboard-banner-open:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.15);
    background: linear-gradient(135deg, #e0f2fe 0%, #b0e0e6 100%);
}

.banner-content h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: #0369a1; 
    letter-spacing: -0.5px;
}

.banner-content p {
    margin: 0;
    font-size: 14.5px;
    color: #0c4a6e;
    font-weight: 500;
}

.banner-content strong {
    color: #0284c7;
    background: rgba(255,255,255,0.5);
    padding: 2px 6px;
    border-radius: 4px;
}

.banner-emoji {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .dashboard-banner-open { padding: 20px; flex-direction: column; text-align: center; gap: 15px; }
    .banner-content h3 { font-size: 18px; }
}



/* ===================== 메인 4개 카드 (카카오형 아이콘 카드) ===================== */
.main-action-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 50px;
}

.action-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #eceff5;
    transition: 0.25s;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f1f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #4d63ff;
    margin-bottom: 18px;
}

.action-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.action-desc {
    font-size: 14px;
    color: #7b88a8;
}

/* --- D-5 이하 긴급 상태(Urgent) 전용 CSS --- */



.license-card-wrap{
border-radius: 18px;
}

.license-urgent {
    border: 2px solid #e11d48 !important; /* 강렬한 레드 테두리 */
    background: linear-gradient(to bottom, #fff5f6, #ffffff) !important; /* 아주 옅은 붉은 배경 */
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.15) !important;
    animation: urgent-pulse 2s infinite; /* 시선을 끄는 테두리 펄스 효과 */
}

/* D-day 뱃지 강조 (통통 튀는 효과) */
.license-urgent .license-dday {
    background-color: #e11d48 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.4);
    animation: urgent-bounce 1s infinite alternate ease-in-out;
}

/* 제목 옆에 경고 아이콘 추가 */
.license-urgent .title::after {
    content: ' 🚨 연장 필요';
    color: #e11d48;
    font-size: 14px;
    font-weight: bold;
    margin-left: 6px;
    animation: urgent-blink 1s infinite alternate;
}

/* 구매하기 버튼을 더 강렬하게 (유도 효과) */
.license-urgent .btn-buy {
    background-color: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #fff !important;
}
.license-urgent .btn-buy:hover { background-color: #be123c !important; }

/* 애니메이션 키프레임 */
@keyframes urgent-pulse {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
@keyframes urgent-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}
@keyframes urgent-blink {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 카드 자체를 예쁜 링크로 만들기 위한 추가 스타일 */
.action-card.link-style {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none; /* 밑줄 제거 */
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 마우스 호버 시 카드가 살짝 떠오르는 효과 */
.action-card.link-style:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* 화살표 스타일 및 애니메이션 */
.action-arrow {
    font-size: 20px;
    color: #4d63ff; /* 애드핀 블루 포인트 컬러 */
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* 마우스 호버 시 화살표가 오른쪽으로 살짝 이동 */
.action-card.link-style:hover .action-arrow {
    transform: translateX(5px);
}

/* (선택) 아이콘 배경을 예쁘게 둥글게 잡아주면 더 좋습니다 */
.action-left { display: flex; align-items: center; gap: 15px; }
.action-icon { 
    font-size: 24px; 
    background: #f0f6ff; 
    width: 48px; height: 48px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 12px; 
}

/* ===================== 통계 카드 (방문자, 접속자, 회원수) ===================== */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

.db-card {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    border: 1px solid #eceff5;
    transition: 0.25s;
}

.db-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.db-title {
    font-size: 15px;
    color: #555;
    font-weight: 600;
}

.db-value {
    font-size: 38px;
    font-weight: 900;
    color: #4d63ff;
    margin: 10px 0;
}

.db-desc {
    font-size: 14px;
    color: #9ea7c4;
}

/* ===================== 공지사항 + 최신글 2단 ===================== */
.dashboard-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* 박스 공통 */
.notice-box, .latest-box {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    border: 1px solid #eceff5;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

/* 공지사항 테이블 */
.notice-table {
    width: 100%;
    border-collapse: collapse;
}

.notice-table th {
    background: #f1f3f9;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    color: #666;
}

.notice-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f3f9;
    font-size: 15px;
}

.notice-table tr:hover td {
    background: #f8faff;
}

/* 최신글 리스트 */
.latest-list li {
    list-style: none;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f8;
}

.latest-list a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.latest-list a:hover {
    color: #3c4bff;
}

.date {
    float: right;
    color: #9aa4bd;
    font-size: 12px;
}

/* ===================== 반응형 ===================== */
@media(max-width: 1100px) {
    .main-action-cards { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 900px) {
    .dashboard-cards { grid-template-columns: 1fr; }
    .dashboard-two { grid-template-columns: 1fr; }
}

/* ===================== 대시보드 배너 ===================== */
.dashboard-banner-row{
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 24px;
    margin-bottom: 36px;
}

/* 배너 카드 */
.dashboard-banner-item{
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
      height: 270px;
}

/* 링크 영역 */
.dashboard-banner-item a{
    display: block;
    width: 100%;
    height: 100%;
}

.dashboard-banner-item {
    display: flex;
    justify-content: center; /* 가로 가운데 */
    align-items: center;     /* 세로 가운데 */
    text-align: center;
    height: 100%; /* 또는 배너 높이 지정 */
}

.dashboard-banner-item p {
    margin: 0;
}




/* 이미지 */
.dashboard-banner-item img{
    width: 100%;
/*    height: 100%;*/
    object-fit: cover;
    display: block;
}

.dashboard-banner-item{
        height: 270px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.dashboard-banner-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 비율 유지 + 영역 꽉 채움 */
    object-position: center; /* 중앙 기준 */
    display: block;
}


/* 반응형: 모바일에서는 1개씩 */
@media(max-width: 900px) {
    .dashboard-banner-row {
        grid-template-columns: 1fr;
    }

    .dashboard-banner {
        flex-direction: column;
        text-align: center;
    }

    .banner-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.action-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-icon {
    width: 44px;
    height: 44px;
    background: #f3f6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-title {
    font-size: 15px;
    font-weight: 700;
}

.action-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* ✅ 큰 숫자 */
.action-big-count {
    font-size: 42px;
    font-weight: 800;
    color: #ff4d4f;      /* 브랜드 컬러로 조절 */
    line-height: 1;
    min-width: 60px;
    text-align: right;
}

.write-btn {
    padding: 6px 12px;
    font-size: 13px;
    background: #1e5eff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.write-btn:hover {
    background: #1749c9;
}

/* ===================== 나의 라이센스 카드 ===================== */
.license-card-wrap {
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    box-sizing: border-box;
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.license-header .title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.license-dday {
    background: #eef2ff;
    color: #4d63ff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
}

/* 데이터 슬롯 현황 */
.quota-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.quota-info .label {
    color: #7b88a8;
    font-weight: 500;
}

.quota-info .numbers {
    font-weight: 700;
    color: #222;
}

.quota-info .numbers span.used {
    color: #4d63ff;
    font-size: 18px;
}

/* 프로그레스 바 */
.progress-bg {
    width: 100%;
    height: 10px;
    background: #eceff5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4d63ff, #7384ff);
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

/* 만료 안내 등 추가 정보 */
.license-footer {
    font-size: 13px;
    color: #9ea7c4;
}

.license-footer strong {
    color: #555;
}

/* 만료/미등록 상태 */
.no-license-wrap {
    text-align: center;
    color: #7b88a8;
}

.no-license-wrap .buy-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: #4d63ff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.no-license-wrap .buy-btn:hover {
    background: #3c4bff;
}

/* ===================== 라이센스 하단 버튼 그룹 ===================== */
.license-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 18px; /* 위쪽 여백 */
}

.license-btn {
    flex: 1; /* 두 버튼이 반반씩 꽉 차게 */
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 구매하기 버튼 (서브 컬러) */
.btn-buy {
    background: #f1f3ff;
    color: #4d63ff;
    border: 1px solid #e4e8ff;
}

.btn-buy:hover {
    background: #e4e8ff;
}

/* 등록하기 버튼 (메인 컬러) */
.btn-reg {
    background: #4d63ff;
    color: #fff;
    border: 1px solid #4d63ff;
}

.btn-reg:hover {
    background: #3c4bff;
}


/* ===================== 최신글 리스트 (개선점 및 문의) ===================== */
.latest-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.latest-list li {
    display: flex;                  /* 가로 배치 */
    justify-content: space-between; /* 양끝으로 밀어내기 */
    align-items: center;            /* 세로 중앙 정렬 */
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f8;
}

/* 마지막 줄은 밑줄 제거 */
.latest-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 게시글 제목 */
.latest-list .post-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    
    /* 텍스트가 너무 길면 ... 처리 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    max-width: 75%; /* 날짜 영역을 침범하지 않도록 제한 */
    transition: color 0.2s ease;
}

.latest-list .post-title:hover {
    color: #4d63ff; /* 마우스 올리면 브랜드 컬러로 변경 */
}

/* 게시글 날짜 */
.latest-list .post-date {
    font-size: 13px;
    color: #9ea7c4; /* 연한 회색으로 덜 튀게 */
    white-space: nowrap;
}

/* 게시글이 없을 때 */
.latest-list .empty-post {
    justify-content: center;
    color: #9ea7c4;
    font-size: 14px;
    padding: 30px 0;
}


/* ===================== 첫 번째: 가이드 배너 ===================== */
.guide-banner-wrap {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6ecff 100%);
    position: relative;
    overflow: hidden;
    height: 100%; /* 라이센스 카드와 높이 맞춤 */
}

.guide-banner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

/* 텍스트 컨텐츠 영역 */
.guide-content {
    text-align: left;
    z-index: 2;
}

.guide-badge {
    background: #4d63ff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(77, 99, 255, 0.2);
}

.guide-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.guide-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.guide-btn {
    font-size: 15px;
    font-weight: 800;
    color: #4d63ff;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.guide-btn .arrow {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

/* 마우스 호버 액션 */
.guide-banner-link:hover .guide-btn .arrow {
    transform: translateX(5px);
}
.guide-banner-link:hover .guide-illust {
    transform: translateY(-8px) scale(1.05);
}

/* 우측 데코레이션 (둥근 원 + 로켓 이모지) */
.guide-illust {
    position: absolute;
    right: 20px;
    bottom: -10px;
    width: 130px;
    height: 130px;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.guide-illust .circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(77, 99, 255, 0.1);
    top: 0;
    left: 0;
}

.guide-illust .emoji {
    position: absolute;
    font-size: 65px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 4px 10px rgba(0,0,0,0.1);
}
