/* 전역 focus outline 제거 */
a:focus,
a:focus-visible,
button:focus,
button:focus-visible {
    outline: none;
}

/* 영상 플레이어 둥근 테두리 */
#screen {
	border-radius: 12px;
}

#vimeo-player iframe {
	border-radius: 12px;
}

/* 모달 비디오 플레이어 둥근 테두리 */
.modal-video-movie-wrap iframe {
	border-radius: 12px;
}

.modal-video-movie-wrap {
	border-radius: 12px;
}

/* 네비게이션 버튼 스타일 개선 */
.btn-fab {
	box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.btn-fab .material-icons {
	color: #333 !important;
	font-size: 24px !important;
	width: 24px !important;
	line-height: 24px !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-12px, -12px) !important;
}

.btn-fab:hover {
	box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
}


/* navbar 기본 스타일링 */
.navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
	font-weight: 600 !important;
	letter-spacing: 0.3px !important;
}

/* 메인 메뉴 hover 색상: 주황색으로 오버라이드 */
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
	color: #faa716 !important;
}

/* sub 페이지: navbar 반투명 흰색 + blur (배경 이미지와 텍스트 분리) */
.navbar.navbar-transparent.navbar-sub {
	background-color: rgba(255, 255, 255, 0.35) !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	z-index: 1030;
}

/* 서브 페이지: navbar 높이 고려한 여백 */
.navbar-sub + .ecommerce-page .page-header.header-auto .container,
.ecommerce-page:has(.navbar-sub) .page-header.header-auto .container {
	padding-top: 100px;
}

/* 모바일: 서브 페이지에서 로고가 가려지지 않도록 여백 조정 */
@media (max-width: 991px) {
	.ecommerce-page .page-header.header-auto .container {
		padding-top: 14vh;
	}
	/* 서브 페이지 navbar 고려한 최소 높이 증가 */
	.page-header.header-auto {
		min-height: 280px;
	}
}

@media (max-width: 768px) {
	.ecommerce-page .page-header.header-auto .container {
		padding-top: 12vh;
	}
}

/* 서브 페이지 로고 높이 조정 */
.navbar.navbar-transparent.navbar-sub .navbar-brand img {
	margin-top: -5px;
}

/* 투명 navbar 글씨: 부드러운 갈색으로 변경 */
.navbar.navbar-transparent .navbar-nav > li > a {
	color: #6D4C41 !important;
}

/* 투명 navbar hover: 주황색 유지 (단, 버튼 제외) */
.navbar.navbar-transparent .navbar-nav > li > a:hover,
.navbar.navbar-transparent .navbar-nav > li > a:focus {
	color: #faa716 !important;
}

/* 로그인 버튼: hover 시 글씨 색상 변경 없음 */
.navbar.navbar-transparent .navbar-nav > li.button-container > a.btn:hover,
.navbar.navbar-transparent .navbar-nav > li.button-container > a.btn:focus {
	color: inherit !important;
}

.navbar .dropdown-menu li > a {
	font-weight: 500 !important;
	color: #333 !important;
}

.navbar .dropdown-menu li > a:hover {
	font-weight: 600 !important;
	color: #fff !important;
	background-color: #faa716 !important;
}

.navbar-brand img {
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar,
.navbar-collapse,
.navbar-nav,
.button-container {
	overflow: visible !important;
}

/* 모바일(햄버거) 메뉴 패널 스크롤 허용 */
@media all and (max-width: 992px) {
	/* 패널 배경색 (원래 #999 → 흰색) */
	.navbar-collapse {
		background-color: #FFFFFF !important;
	}
	/* ul.navbar-nav 을 스크롤 컨테이너로 복원 (site-kit 의 overflow:visible 덮어쓰기) */
	.navbar-collapse > ul.navbar-nav {
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	/* dropdown-menu(ul)에는 스크롤 컨테이너 속성 제거 — 인라인 렌더링 */
	.navbar-collapse .dropdown-menu {
		overflow-y: visible !important;
		height: auto !important;
		position: static !important;
		float: none !important;
		width: auto !important;
	}
}

/* 혜인 추가 main-page 시작 */
.brand-main a {
    margin-right: 20px; /* 원하는 간격 크기로 조정 */
}

.login-page.teacher-area .footer {
    padding: 4px 0 !important;
}
.login-page.teacher-area .footer .container {
    padding: 0 !important;
}

.teacher-area .page-header .container {
    padding-top: 6vh !important;
}
.teacher-area .page-header .title {
    margin-bottom:35px;
}

/* 관리자 메인 타이틀 이미지만 살짝 아래로 내림 */
.teacher-area .page-header .title img {
    margin-top: 20px;
}

/* teacher-area: 상단 카드의 위/아래(세로) 사이즈 축소 */
.teacher-area .main-box {
    padding-top: 40px !important;   /* 기존 60px → 40px */
    padding-bottom: 28px !important;/* 기존 40px → 28px */
}
.teacher-area .main-box .card-content {
    min-height: 240px !important;   /* 기존 280px → 240px */
}

.main-box {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 50px;
    color: rgba(0,0,0, 0.87);
    padding: 60px 20px 40px 20px;
    background:#fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.main-box-background{
    background-position: center center;
    background-size: auto;
    text-align: center;
}

.main-box .card-content {
    position: relative;
    z-index: 2;
    min-height: 280px;
    max-width: 350px;
    margin: 0 auto;
}
.main-box .card-content a{
    font-size:15px;
    font-weight:800;
}
.main-box .card-content .card-title{
    letter-spacing:-0.5px; margin-bottom:15px;
}
.main-box-background .category,
.main-box-background .card-description,
.main-box-background small{
    color: rgba(255, 255, 255, 0.7);
}

.main-box-background .card-title {
    margin-top: 20px;
}

.btn.btn-main-white {
    box-shadow: 0 4px 0px 0 rgba(0, 0, 0, 0.2);
}

.btn.btn-main-white, .btn.btn-main-white:hover, .btn.btn-main-white:focus, .btn.btn-main-white:active, .btn.btn-main-white.active, .btn.btn-main-white:active:focus, .btn.btn-main-white:active:hover, .btn.btn-main-white.active:focus, .btn.btn-main-white.active:hover,
.open > .btn.btn-main-white.dropdown-toggle,
.open > .btn.btn-main-white.dropdown-toggle:focus,
.open > .btn.btn-main-white.dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #110B02;
}

.btn-main-white:active {
    /* 버튼이 눌렸을 때의 스타일 */
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2); /* 그림자 효과 변경 */
    transform: translateY(2px); /* 버튼이 눌린 것처럼 보이게 하기 위한 변형 */
}

.btn-main-bottom{
    border-radius:1em;
    box-shadow: 0 4px 0px #F5D8B5;
}

.btn-main-bottom:active {
    /* 버튼이 눌렸을 때의 스타일 */
    box-shadow: 0 0px 0px #F5D8B5;
    transform: translateY(2px); /* 버튼이 눌린 것처럼 보이게 하기 위한 변형 */
}

/* 혜인 추가 main-page 종료 */

/* 교재 슬라이드 스타일링 */
.carousel-inner .item img {
    max-height: 600px; /* 최대 높이 설정 */
    width: auto; /* 너비는 자동으로 조정됩니다. */
    height: auto; /* 높이도 자동으로 조정됩니다. */
    max-width: 100%; /* 최대 너비 설정 */
    margin: 0 auto; /* 가운데 정렬을 위한 마진 설정 */
}

/* 교재 소개 상단 타이틀 스타일링 */
h3.text-title {
    font-weight: 800;
    font-size: 3.0em;
    text-shadow: 3px 3px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    color: #fff !important;
}

/* 모바일에서 오른쪽에 생기는 가로 여백(오버플로우) 제거 */
html, body {
    overflow-x: hidden;
}

/* 배경 헤더/캐러셀에서 이미지/요소가 가로로 넘칠 때 숨김 */
.page-header,
.carousel {
    overflow-x: hidden;
}

h4.text-title {
    font-weight: 600;
    font-size: 1.8em;
    text-shadow: 2px 2px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    color: #fff !important;
}

h5.text-title {
    font-weight: 600;
    font-size: 1.3em;
    text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    color: #fff !important;
}

h6.text-title {
    font-weight: 400;
    font-size: 1.0em;
    text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    color: #fff !important;
}

h5.text-title-black {
    font-weight: 600;
    font-size: 1.3em;
    letter-spacing:-1.1px;
    color: #000 !important;
}

h4.text-title-main {
    color: #110B02;
    font-weight:700;
}


/* 오디오 플레이어 스타일링 */
.audio-player {
    width: 330px;
    margin: 10px auto;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
audio {
    width: 100%;
    margin-top: 10px;
}
.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    height: 10px;
    cursor: pointer;
    box-shadow: none;
}
.progress {
    height: 100%;
    background-color: #4caf50;
    width: 0;
}
.audio-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.audio-controls button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin: 0 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 기본 그림자 */
    transition: box-shadow 0.3s ease, transform 0.1s ease; /* 부드러운 전환 효과 */
}
.audio-controls button:hover {
    background-color: #555;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* 강조된 그림자 */
}
.audio-controls button:active {
    background-color: #222; /* 눌렸을 때 색상 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 눌렸을 때 그림자 */
    transform: translateY(2px); /* 눌렸을 때 약간 아래로 이동 */
}


/*3d button css*/
.list_btn{
    display: inline-block;
}
.brand a.button {
    display: block;
    position: relative;
    float: left;
    width: 170px;
    padding: 0;
    margin: 10px 20px 10px;
    font-weight: 800;
    font-size: 1.5em;
    text-align: center;
    line-height: 50px;
    color: #FFFFFF;
    border-radius: 25px;
    transition: all 0.2s ;
    letter-spacing: -0.5px;
}
a.button.btnYellow{
    color: #e94909;
    font-size: 1.4em;
}
a.button.btnLightGreen{
    color: #963b92;
    font-size: 1.4em;
}
a.button.btnDarkBlue{
    color: #ffda16;
    font-size: 1.4em;
}
.btnOrange {
    background: #faa716;
}
.btnGreen {
    background: #2bc77f;
}
.btnBlue {
    background: #4099f2;
}
.btnYellow {
    background: #feda15;
}
.btnLightGreen {
    background: #bed500;
}
.btnDarkBlue {
    background: #075dac;
}
.btnGreen.btnPush {
    box-shadow: 0px 5px 0px 0px #15955a;
}

.btnBlue.btnPush {
    box-shadow: 0px 5px 0px 0px #0f74d9;
}

.btnOrange.btnPush {
    box-shadow: 0px 5px 0px 0px #d98d00;
}

.btnLightGreen.btnPush {
    box-shadow: 0px 5px 0px 0px #a8bc00;
}

.btnDarkBlue.btnPush {
    box-shadow: 0px 5px 0px 0px #003d75;
}

.btnYellow.btnPush {
    box-shadow: 0px 5px 0px 0px #ffc200;
}
.brand .btnPush:hover {
    margin-top: 15px;
    margin-bottom: 5px;
}
.btnGreen.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #15955a;
}

.btnBlue.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #0f74d9;
}

.btnOrange.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #d98d00;
}
.btnLightGreen.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #a8bc00;
}

.btnDarkBlue.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #003d75;
}

.btnYellow.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #ffc200;
}
/*3d button css end*/

/* Bounce In */
.hvr-bounce-in {
    display: inline-block;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
/* Bounce In end*/


@media screen and (max-width: 768px) {
    .card-container {
        justify-content: center;
    }
    .card-container-sm .col-sm-6{
        float:left; width:50%
    }
    /* 헤더 로고가 네비게이션 영역으로 올라가지 않도록 여유 공간 확보 */
    .page-header.header-auto .container {
        padding-top: 120px;
    }
    .page-header.header-small{
        background-size: 500%;
    }
    .index-page .page-header .container{
        padding: 160px 0 70px;
    }
    .index-page .page-header{
        height: auto;
        background-position: top;
        background-size: cover;
    }
    .brand a.button{
        float: none;
        margin-bottom: 20px;
    }
    .page-header.header-auto {
        min-height: 300px;
        max-height: none;
    }
    .page-header.header-auto .container {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 950px) and (orientation: landscape) {
    /* width 950px이하 + 가로 모드일 때 적용할 CSS */

    .index-page .page-header{
        height: auto;
        background-size: 150%;
    }
    .page-header.header-small{
        height: auto;
        padding: 30px 0;
        background-size: 135%;
    }
    .page-header.header-auto {
        min-height: 200px;
        max-height: none;
    }
}

.full-height {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
 .button-wrapper {
    position: relative;
    text-align: center;
    margin-top: 150px;
}

.button-wrapper .CD-image {
    position: absolute;
    top: -77px;
    left: 50%;
    width:12em;
    transform: translateX(-50%);
    animation: none;
    will-change: transform;
    transition: animation 0.3s ease;
}

.button-wrapper:hover .CD-image {
    animation: rotateCD 2s linear infinite;
}

@keyframes floatCD {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@keyframes rotateCD {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.btnPush:active,
.btnPush:hover {
    box-shadow: none;
    transform: translateY(10px);
    box-shadow:none !important;
    transition: 0.3s all ease;
    -webkit-tap-highlight-color: transparent;
}

.btnPush {
    margin: 0;
    transform: translateY(7px);
    transition: 0.3s all ease;
    -webkit-touch-callout: none;
    cursor: pointer;
    touch-action: manipulation;
}
.button-content {
    display: flex;
    padding: 30px 45px 10px;
    background:#fff;
    text-align: center;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06); 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition:0.3s all ease;
}

.button-content p {
    color: rgba(0, 0, 0, 0.88);
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 10px;
}
.button-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 0% 100%;
    transition: top 0.3s ease, background-color 0.3s ease;
}

.nav .button-container .btnPush {
    transform: translateY(1.5px);
}
.nav .button-container .btnPush:active,
.nav .button-container .btnPush:hover {
   transform: translateY(3px);
}


.button-wrapper:hover:nth-child(1) .button-content{
    background: #FFE86E;
}
.button-wrapper:hover:nth-child(2) .button-content{
    background: #DDD8D3;
}
.button-wrapper:hover:nth-child(3) .button-content{
    background: #FF9A94;
}
.button-wrapper:hover:nth-child(4) .button-content{
    background: #CBD2E9;
}


@keyframes rotate360 {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@media (max-width: 767px) {
    .index-page .buttonbox .button-wrapper {
        width: 46% !important;
        min-width: 0 !important;
        max-width: none !important;
        float: left;
        margin-top: 82px;
    }
    .index-page .buttonbox .button-wrapper .CD-image {
        display: block !important;
        position: absolute;
        top: -46px;
        left: 32%;
        width: 7.2em;
        transform: translateX(-50%);
        z-index: 1;
    }
    .index-page .buttonbox .button-content {
        margin-top: 0;
        position: relative;
        z-index: 2;
        padding: 28px 12px 14px;
        min-height: 112px;
        background: #fff !important;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06) !important;
        border-radius: 20px;
    }
    .index-page .buttonbox .button-content p {
        display: block;
        margin-top: 8px;
        font-size: 0.92em;
        line-height: 1.25;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .button-wrapper {
        width: 50%;
        float: left;
    }
}
@media (max-width: 932px) and (orientation: landscape) {
    .full-height {
        height: auto;
        padding:80px 16px;
    }
}
@media (max-width: 480px) {
    .full-height {/*높이가운데정렬*/
        height: inherit;
        padding:100px 0;
    }

    /*-----------20240717 혜인수정(S)-----------*/
    .container-fluid .buttonbox{
        margin-top:100px;
    }
    .buttonbox .button-wrapper {
        width: 46% !important;
        min-width: 0 !important;
        max-width: none !important;
        float: left;
        margin-top: 72px;
    }

    .button-content {
        padding: 24px 8px 12px;
        margin-top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 98px;
        background: #fff !important;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06) !important;
        border-radius: 18px;
    }
    .button-wrapper .CD-image {
        display: block !important;
        position: absolute;
        top: -40px;
        left: 32%;
        transform: translateX(-50%);
        width: 6.2em;
        z-index: 1;
    }
    .button-content p {
        display: block;
        margin-top: 6px;
        font-size: 0.86em;
        line-height: 1.2;
    }
    .button-wrapper:nth-child(1) .button-content{
        background: #FFE86E !important;
    }
    .button-wrapper:nth-child(2) .button-content{
        background: #DDD8D3 !important;
    }
    .button-wrapper:nth-child(3) .button-content{
        background: #FF9A94 !important;
    }
    .button-wrapper:nth-child(4) .button-content{
        background: #CBD2E9 !important;
    }
}/*-----------20240717 혜인수정(E)-----------*/



/*텍스트 버튼 스타일 - 메인 페이지 하단 버튼*/
.text-btn-special {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.text-btn-special i {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #F5A623;
}

.text-btn-special span {
    display: block;
}

.text-btn-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    height: 100%;
}

.text-btn-small i {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #F5A623;
}

.text-btn-small span {
    display: block;
    font-size: 0.9em;
    white-space: nowrap;
}

.btn-main-bottom:hover .text-btn-special,
.btn-main-bottom:hover .text-btn-small {
    transform: scale(1.05);
    color: #000;
}

.btn-main-bottom:hover .text-btn-special i,
.btn-main-bottom:hover .text-btn-small i {
    color: #E67E22;
}

.btn-main-bottom:active .text-btn-special,
.btn-main-bottom:active .text-btn-small {
    transform: scale(0.95);
}

.btn-main-white:hover {
    z-index: 1;
    box-shadow: 0 0 0 2px #b3e0ff, 0 0 16px 2px #007bff55;
    background: #f8fbff;
    color: #007bff;
    border-color: #007bff;
}

.btn-light-bluelamp:hover {
    z-index: 1;
    box-shadow: 0 0 0 2px #b3e0ff, 0 0 16px 2px #007bff55;
    background: #f8fbff;
    color: #007bff;
    border-color: #007bff;
}

.btn.btn-bluelamp {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.btn.btn-bluelamp:hover,
.btn.btn-bluelamp:focus,
.btn.btn-bluelamp:active {
    border: 2px solid #007bff !important;
}

.card.card-profile.main-list-card {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, background 0.3s;
    border: 1px solid #e0e0e0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.card.card-profile.main-list-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    transform: translateY(-8px) scale(1.04);
    border-color: #007bff;
    background: #f5faff;
    z-index: 2;
}

.card.card-profile.main-list-card .card-body img,
.card.card-profile.main-list-card .card-image img {
    transition: transform 0.35s;
}

.card.card-profile.main-list-card:hover .card-body img,
.card.card-profile.main-list-card:hover .card-image img {
    transform: scale(1.07) rotate(-2deg);
    filter: brightness(1.07) saturate(1.1);
}

/* 이미지 전용 hover 효과 */
.card-container-sm .card.card-profile.card-plain .card-image img {
  transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  transform-origin: center center;
  display: block;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
}

/* 이미지 위에 마우스를 올렸을 때만 살짝 확대 */
.card-container-sm .card.card-profile.card-plain .card-image:hover img {
  transform: scale(1.03);
}

/* 모션 최소화 환경 배려 */
@media (prefers-reduced-motion: reduce) {
  .card-container-sm .card.card-profile.card-plain .card-image img {
    transition: none !important;
  }
}

/* 미인증(그레이스케일)에는 확대 제외 옵션 */
.card-container .card.card-profile.card-plain .card-image[style*="grayscale(100%)"]:hover img {
  transform: none !important;
}

.modal-img img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;  /* 가운데 정렬(선택) */
}





/* btn-pretty 스타일 */
.btn-pretty {
	color: white; 
	padding: 15px 25px;
	display: inline-block;
	border: 1px solid rgba(0,0,0,0.21);
	border-bottom-color: rgba(0,0,0,0.34);
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
	box-shadow: 0 1px 0 rgba(255,255,255,0.34) inset, 
				0 2px 0 -1px rgba(0,0,0,0.13), 
				0 3px 0 -1px rgba(0,0,0,0.08), 
				0 3px 13px -1px rgba(0,0,0,0.21);
	text-decoration: none;
	cursor: pointer;
}

.btn-pretty:hover i {
	transform: scale(1.2);
	transition: transform 0.3s ease;
}

.btn-pretty:active {
	top: 1px;
	border-color: rgba(0,0,0,0.34) rgba(0,0,0,0.21) rgba(0,0,0,0.21);
	box-shadow: 0 1px 0 rgba(255,255,255,0.89), 0 1px rgba(0,0,0,0.05) inset;
	position: relative;
}

/* btn-pretty 크기 */
.btn-pretty.large {
	padding: 20px 40px;
	font-size: 22px;
}

.btn-pretty.small {
	padding: 8px 18px;
	font-size: 14px;
}

.btn-pretty.mini {
	padding: 4px 12px;
	font-size: 12px;
}

.btn-pretty.block {
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* btn-pretty 둥근 모서리 */
.btn-pretty.rounded {
	border-radius: 10px;
}

.btn-pretty.rounded-sm {
	border-radius: 5px;
}

.btn-pretty.rounded-lg {
	border-radius: 15px;
}

.btn-pretty.rounded-xl {
	border-radius: 20px;
}

/* btn-pretty 색상 - Bootstrap 스타일 */
.btn-pretty.primary {
	background-color: #9c27b0;
}

.btn-pretty.primary:hover {
	background-color: #7b1fa2;
}

.btn-pretty.success {
	background-color: #4caf50;
}

.btn-pretty.success:hover {
	background-color: #388e3c;
}

.btn-pretty.info {
	background-color: #00bcd4;
}

.btn-pretty.info:hover {
	background-color: #0097a7;
}

.btn-pretty.warning {
	background-color: #ff9800;
}

.btn-pretty.warning:hover {
	background-color: #f57c00;
}

.btn-pretty.danger {
	background-color: #f44336;
}

.btn-pretty.danger:hover {
	background-color: #d32f2f;
}

.btn-pretty.secondary {
	background-color: #999999;
}

.btn-pretty.secondary:hover {
	background-color: #757575;
}

.btn-pretty.light {
	background-color: #ffffff;
	color: #333 !important;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.btn-pretty.light:hover {
	background-color: #f5f5f5;
}

.btn-pretty.dark {
	background-color: #212121;
}

.btn-pretty.dark:hover {
	background-color: #000000;
}





/* btn-pretty-3d */
.btn-pretty-3d {
	position: relative;
	display: inline-block;
	padding: 6px 30px;
	color: #fff !important;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	border: none;
	border-radius: 6px;
	transition: top 0.01s linear;
	cursor: pointer;
	text-decoration: none !important;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.btn-pretty-3d:active {
	top: 6px;
}

/* btn-pretty-3d 크기 변형 */
.btn-pretty-3d.large {
	padding: 12px 40px;
	font-size: 18px;
}

.btn-pretty-3d.small {
	padding: 4px 20px;
	font-size: 11px;
}

.btn-pretty-3d.mini {
	padding: 2px 15px;
	font-size: 10px;
}

.btn-pretty-3d.block {
	display: block;
	width: 100%;
	text-align: center;
}

.btn-pretty-3d.primary {
	background-color: #9c27b0;
	box-shadow: 
		0 0 0 1px #7b1fa2 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #7b1fa2,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.primary:hover {
	background-color: #9c27b0 !important;
}

.btn-pretty-3d.primary:active {
	box-shadow: 
		0 0 0 1px #7b1fa2 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.success {
	background-color: #4caf50;
	box-shadow: 
		0 0 0 1px #388e3c inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #388e3c,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.success:hover {
	background-color: #4caf50 !important;
}

.btn-pretty-3d.success:active {
	box-shadow: 
		0 0 0 1px #388e3c inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.info {
	background-color: #00bcd4;
	box-shadow: 
		0 0 0 1px #0097a7 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #0097a7,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.info:hover {
	background-color: #00bcd4 !important;
}

.btn-pretty-3d.info:active {
	box-shadow: 
		0 0 0 1px #0097a7 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.warning {
	background-color: #ff9800;
	box-shadow: 
		0 0 0 1px #f57c00 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #f57c00,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.warning:hover {
	background-color: #ff9800 !important;
}

.btn-pretty-3d.warning:active {
	box-shadow: 
		0 0 0 1px #f57c00 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.danger {
	background-color: #f44336;
	box-shadow: 
		0 0 0 1px #d32f2f inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #d32f2f,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.danger:hover {
	background-color: #f44336 !important;
}

.btn-pretty-3d.danger:active {
	box-shadow: 
		0 0 0 1px #d32f2f inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.secondary {
	background-color: #999999;
	box-shadow: 
		0 0 0 1px #757575 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #757575,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.secondary:hover {
	background-color: #999999 !important;
}

.btn-pretty-3d.secondary:active {
	box-shadow: 
		0 0 0 1px #757575 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.light {
	background-color: #ffffff;
	color: #333 !important;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	box-shadow: 
		0 0 0 1px #e0e0e0 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #e0e0e0,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.light:hover {
	background-color: #ffffff !important;
	color: #333 !important;
}

.btn-pretty-3d.light:active {
	box-shadow: 
		0 0 0 1px #e0e0e0 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}

.btn-pretty-3d.dark {
	background-color: #212121;
	box-shadow: 
		0 0 0 1px #000000 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 6px 0 0 #000000,
		0 6px 0 1px rgba(0,0,0,0.4),
		0 6px 6px 1px rgba(0,0,0,0.5);
}

.btn-pretty-3d.dark:hover {
	background-color: #212121 !important;
}

.btn-pretty-3d.dark:active {
	box-shadow: 
		0 0 0 1px #000000 inset,
		0 0 0 2px rgba(255,255,255,0.15) inset,
		0 0 0 1px rgba(0,0,0,0.4);
}







/* 메인 페이지 학습 시간 정보 카드 스타일 */
.stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 16px 20px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	flex: 1;
	max-width: 200px;
}

.stat-details {
	color: white;
	flex: 1;
}

.stat-label {
	font-size: 11px;
	opacity: 0.9;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	font-family: 'NanumSquareRound', sans-serif;
	transition: all 0.3s ease;
}

.stat-value {
	font-size: 20px;
	font-weight: 700;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	line-height: 1.1;
	color: white;
	display: flex;
	align-items: baseline;
	gap: 2px;
	justify-content: center;
	text-align: center;
	font-family: 'NanumSquareRound', sans-serif;
	transition: all 0.3s ease;
	position: relative;
}

.stat-value::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 60%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
	transition: transform 0.3s ease;
}

.stat-card:hover .stat-value {
	transform: scale(1.05);
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.stat-card:hover .stat-value::after {
	transform: translateX(-50%) scaleX(1);
}

.stat-card:hover .stat-label {
	opacity: 1;
	color: rgba(255, 255, 255, 1);
}

.stat-value .unit {
	font-size: 13px;
	font-weight: 400;
	opacity: 0.85;
	font-family: 'NanumSquareRound', sans-serif;
	transition: all 0.3s ease;
}

.stat-card:hover .stat-value .unit {
	opacity: 0.95;
}
