@charset "utf-8";
/* 마사지포럼 커스텀 CSS - Miso-Simple 테마 기반 */

/*-------------------------------------------------------*/
/* Font & Base
/*-------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #c01920;
    --primary-dark: #9a1419;
    --primary-light: #e8363d;
    --secondary-color: #333;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f5f5f5;
}

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, dotum, sans-serif;
    line-height: 1.6;
    font-size: 14px;
    color: var(--text-color);
    background-color: #fff;
}

a {
    color: var(--text-color);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus, a:active {
    color: var(--primary-color);
    text-decoration: none;
}

ul, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*-------------------------------------------------------*/
/* Layout
/*-------------------------------------------------------*/
.wrapper {
    position: relative;
    z-index: 0;
    margin: 0 auto;
    background: #fff;
}

/*-------------------------------------------------------*/
/* Header
/*-------------------------------------------------------*/
#hd {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1001;
}

#tnb {
    background: var(--primary-color);
    padding: 5px 0;
}

#tnb a {
    color: #fff !important;
    padding: 0 10px;
    font-size: 12px;
}

#tnb a:hover {
    color: #ffd700 !important;
}

#hd_wrapper {
    background: #fff;
    padding: 15px 0;
}

/* Logo */
#hd_h1 a {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

#hd_h1 img {
    max-height: 50px;
}

/*-------------------------------------------------------*/
/* Navigation
/*-------------------------------------------------------*/
#gnb {
    background: var(--secondary-color);
}

#gnb_1da {
    background: transparent;
}

#gnb_1da > li > a {
    color: #fff !important;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    font-size: 16px;
    transition: background 0.3s;
}

#gnb_1da > li > a:hover,
#gnb_1da > li.over > a {
    background: var(--primary-color);
}

/* Sub Menu */
#gnb_1da li ul {
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-color);
}

#gnb_1da li ul a {
    color: var(--text-color) !important;
    padding: 10px 20px;
    display: block;
}

#gnb_1da li ul a:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    font-weight: bold;
}

/*-------------------------------------------------------*/
/* Buttons
/*-------------------------------------------------------*/
.btn_submit,
.btn01,
input[type="submit"],
button[type="submit"] {
    background: var(--primary-color) !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn_submit:hover,
.btn01:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: var(--primary-dark) !important;
}

.btn_cancel,
.btn02 {
    background: #666 !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 10px 25px;
}

.btn {
    font-family: "Noto Sans KR", sans-serif;
    border-radius: 4px;
}

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

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

/*-------------------------------------------------------*/
/* Board Table
/*-------------------------------------------------------*/
.tbl_head01 thead th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 500;
    padding: 12px 10px;
    border: none;
}

.tbl_head01 tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color);
}

.tbl_head01 tbody tr:hover {
    background: var(--accent-color);
}

/* Board Title Link */
.bo_tit a {
    color: var(--text-color);
    font-weight: 500;
}

.bo_tit a:hover {
    color: var(--primary-color);
}

/*-------------------------------------------------------*/
/* Pagination
/*-------------------------------------------------------*/
.pg_wrap {
    text-align: center;
    margin: 30px 0;
}

.pg a,
.pg strong {
    display: inline-block;
    min-width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    margin: 0 2px;
    border-radius: 4px;
    text-decoration: none;
}

.pg a {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.pg a:hover {
    background: var(--accent-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pg .pg_current,
.pg strong {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 1px solid var(--primary-color);
}

/*-------------------------------------------------------*/
/* Sidebar
/*-------------------------------------------------------*/
.lt_title {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

.lt_title a {
    color: #fff !important;
}

/*-------------------------------------------------------*/
/* Login Box
/*-------------------------------------------------------*/
#outlogin {
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

#outlogin input[type="text"],
#outlogin input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
}

/*-------------------------------------------------------*/
/* New Icon
/*-------------------------------------------------------*/
.ico_new,
.new {
    background: var(--primary-color);
    color: #fff !important;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
}

/*-------------------------------------------------------*/
/* Footer
/*-------------------------------------------------------*/
#ft {
    background: var(--secondary-color);
    color: #aaa;
    padding: 30px 0;
    margin-top: 50px;
}

#ft a {
    color: #ccc;
}

#ft a:hover {
    color: #fff;
}

/*-------------------------------------------------------*/
/* Form Elements
/*-------------------------------------------------------*/
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/*-------------------------------------------------------*/
/* Card Style
/*-------------------------------------------------------*/
.latest {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/*-------------------------------------------------------*/
/* Massage Forum Custom Styles
/*-------------------------------------------------------*/

/* Forum Theme Sidebar */
aside.froum-theme {
    margin: 0 10px;
}

aside.froum-theme > div {
    position: relative;
    margin-top: 10px;
    padding: 10px;
}

aside.froum-theme > ul {
    margin-top: 0px !important;
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
}

aside.froum-theme > ul.upso {
    border: none;
    border-right: 1px solid var(--primary-color);
    border-left: 1px solid var(--primary-color);
    list-style: none;
}

aside.froum-theme > ul:after {
    display: block;
    clear: both;
    content: '';
}

aside.froum-theme > ul > li {
    float: left;
    width: 100%;
    border-bottom: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

aside.froum-theme > ul > li.upso {
    width: 33.3%;
    border: none;
    background-color: rgba(192, 25, 32, 0.1);
}

aside.froum-theme > ul > li.point {
    width: 33.3%;
}

aside.froum-theme > ul > li.on {
    border-bottom: none;
    font-weight: bold;
}

aside.froum-theme > ul.upso > li.on {
    background-color: #FFFFFF;
}

aside.froum-theme > table {
    display: none;
    width: 100%;
    border: 1px solid #DDDDDD;
    border-top: none;
    border-collapse: collapse;
}

aside.froum-theme > table.upso {
    border: 1px solid var(--primary-color);
    border-top: none;
}

aside.froum-theme > table > tbody > tr > th {
    padding: 1px 10px;
    font-weight: normal;
    text-align: left;
}

aside.froum-theme > table > tbody > tr:first-child > th {
    padding-top: 10px;
}

aside.froum-theme > table > tbody > tr:last-child > th {
    padding-bottom: 10px;
}

aside.froum-theme > table > tbody > tr > th > span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #888888;
    color: #FFFFFF;
    font-size: 8px;
    line-height: 15px;
    text-align: center;
    vertical-align: 0px;
}

aside.froum-theme > table > tbody > tr > th > span.rank1,
aside.froum-theme > table > tbody > tr > th > span.rank2,
aside.froum-theme > table > tbody > tr > th > span.rank3 {
    background-color: var(--primary-color);
}

aside.froum-theme > table > tbody > tr > td {
    padding: 5px 10px;
    text-align: right;
}

aside.froum-theme > table > tbody > tr:first-child > td {
    padding-top: 10px;
}

aside.froum-theme > table > tbody > tr:last-child > td {
    padding-bottom: 10px;
}

aside.froum-theme > p {
    padding: 10px;
    border: 1px solid #DDDDDD;
    color: #0C78DF;
    font-weight: bold;
}

aside.froum-theme > p.upso {
    position: relative;
    border: 1px solid var(--primary-color);
    border-bottom: none;
    background-color: var(--primary-color);
    color: #FFFFFF;
}

aside.froum-theme > ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
    border: 1px solid #DDDDDD;
    border-top: none;
}

aside.froum-theme > ol > li {
    padding: 5px 10px;
}

aside.froum-theme > ol > li:first-child {
    padding-top: 10px;
}

aside.froum-theme > ol > li:last-child {
    padding-bottom: 10px;
}

aside.froum-theme > ol > li > a {
    display: block;
    overflow: hidden;
    position: relative;
    padding-right: 60px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

aside.froum-theme > ol > li > a > span {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #888888;
    font-weight: normal;
}

/* HOT Button */
.hot_btn {
    background-color: var(--primary-color) !important;
    padding: 0px 4px !important;
    font-size: 10px;
    cursor: text;
    color: #fff;
    border-radius: 3px;
}

.hot_btn:hover {
    color: #fff;
}

/* Login Button */
.top-btn-login {
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    width: 80px;
    margin-top: 2px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    vertical-align: middle;
    border-radius: 5px !important;
    background: none;
    font-size: 14px !important;
}

button.top-btn-login:focus {
    outline: none;
}

.top-btn-login span,
.top-btn-login i {
    color: var(--primary-color) !important;
}

.btn.btn-login {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 5px !important;
    font-size: 14px !important;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    background: none !important;
    height: 30px !important;
    line-height: 10px !important;
}

/*-------------------------------------------------------*/
/* Search Form
/*-------------------------------------------------------*/
.search-area-wrap {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-area-wrap select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 10px;
}

.search-area-wrap button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.search-area-wrap button:hover {
    background: var(--primary-dark);
}

/*-------------------------------------------------------*/
/* Page Title
/*-------------------------------------------------------*/
.page-title {
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-title h2 {
    position: relative;
    color: #111;
    font-size: 24px;
    letter-spacing: -1px;
    padding: 0;
    margin: 0;
    font-weight: 700;
}

/*-------------------------------------------------------*/
/* Widget
/*-------------------------------------------------------*/
.widget-body {
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin: 0 10px;
}

.widget-body h4 {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

/*-------------------------------------------------------*/
/* Responsive
/*-------------------------------------------------------*/
@media (max-width: 991px) {
    #hd_h1 a {
        font-size: 22px;
    }

    #gnb_1da > li > a {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #hd_h1 a {
        font-size: 20px;
    }

    .btn_submit,
    .btn01 {
        padding: 8px 15px;
        font-size: 14px;
    }

    .page-title h2 {
        font-size: 20px;
    }

    aside.froum-theme > ul > li.upso,
    aside.froum-theme > ul > li.point {
        width: 50%;
    }
}

@media (max-width: 480px) {
    aside.froum-theme > ul > li.upso,
    aside.froum-theme > ul > li.point {
        width: 100%;
    }
}

/*-------------------------------------------------------*/
/* Animations
/*-------------------------------------------------------*/
a, button, input, .btn_submit, .btn01 {
    transition: all 0.3s ease;
}

/*-------------------------------------------------------*/
/* Shadow Effects
/*-------------------------------------------------------*/
.latest,
#outlogin,
.tbl_head01 {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/*-------------------------------------------------------*/
/* Thema Color Classes
/*-------------------------------------------------------*/
.box-red,
.bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}
