/* =========================================================
 * DANGOLMOA COMMON CSS
 * ========================================================= */

 :root {

     --bg-color: #f5f6f8;
     --card-bg: #ffffff;

     --text-main: #222222;
     --text-sub: #666666;

     --border-color: #e5e7eb;

	 --primary-color: #E4B7C0;
	 --primary-hover: #D8A0AD;

     --button-bg: #D8A7B1;
     --button-hover: #C993A0;
     --button-text: #ffffff;

     --input-bg: #ffffff;

     --radius: 12px;
	 --radius: 14px;
	 	 
	 --gray-50: #f8fafc;
	 --gray-100: #f1f5f9;
	 --gray-200: #e2e8f0;
	 --gray-600: #475569;
	 --gray-900: #0f172a;

	 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
	 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);

 }

/* =========================================================
 * RESET
 * ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
	background-color: #f9fafb;
}

body {

    background: var(--bg-color);
    color: var(--text-main);
    font-family:
        "Pretendard", "Noto Sans KR", sans-serif;
    line-height: 1.5;
}

/* =========================================================
 * LAYOUT
 * ========================================================= */

.container {
	width: 100%;
    max-width: 760px;
    margin: 30px auto;
    padding: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow:  0 2px 8px rgba(0,0,0,.04);
}

/* =========================================================
 * TITLE
 * ========================================================= */

.page-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.page-desc {
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* =========================================================
 * STEP
 * ========================================================= */

.step {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 20px;
    font-size: 14px;
}

/* =========================================================
 * FORM
 * ========================================================= */

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.input-text,
.select-box {
    width: 100%;
	height:48px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--input-bg);
    font-size: 16px;
	box-sizing:border-box;
	color:#111111;
	transition:all 0.3s ease;
	outline: none;	
}

.input-text:focus,
.select-box:focus,
.textarea:focus {
    outline: none;
    border-color: #4f7cff;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.12);
}

.textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    resize: vertical;
    font-size: 15px;
}

/* =========================================================
 * AGREEMENT
 * ========================================================= */

.agree-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    height: 260px;
    overflow-y: auto;
    margin-bottom: 16px;
    background: #fafafa;
}

.agree-check {
    margin-bottom: 20px;
}

/* =========================================================
 * BUTTON
 * ========================================================= */

 /* 공통 버튼 스타일 */
 .btn {
     width: 100%;
     height: 42px;
     border-radius: 10px;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     border: none;
	 transition:all .3s ease;
 }

 .btn:hover {
     filter: brightness(0.95);
 	transform: translateY(-1px);
 }

 .btn-secondary {
     background-color: #868e96;
     color: #ffffff;
     margin-top: 20px;
 }

.btn-primary {

    background: var(--button-bg);
    color: var(--button-text);
}

.btn-primary:hover {

    opacity: .9;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #fdf6f8;
}

/* =========================================================
 * BUTTON COLOR
 * ========================================================= */

/* 루즈 핑크 버튼 */
.btn-Rouge, .btn-rouge {
    background: #E4B7C0;
    color: #5C6980;
}

/* 홈 버튼 */
.btn-home {
    background-color: #E4B7C0;
    color: #6D578C; 
}

/* 신규 등록 버튼 */
.btn-new {
    background-color: #b3b3ff;
    color: #5e6189; 
}

/* 로그아웃 버튼 */
.btn-logout { 
    background-color: #788787; 
    color: #d6dbdb; /* 대비가 뚜렷한 진한 차콜 네이비 글자색 */
}

/* 운영관리 버튼 */
.btn-setting { 
    background-color: #c5d3ce; 
    color: #5f6e6a; /* 대비가 뚜렷한 진한 차콜 네이비 글자색 */
}

/* 닫기 버튼 */
.btn-close { 
    background-color: #b5b5c3; 
    color: #5f6e6a;
}

/* 저장 버튼 */
.btn-save {
    background-color: #1c7ed6;
    color: #ffffff;
}

/* 삭제 버튼 */
.btn-delete {
    background-color: #ff8080; 
    color: #ffffff;
}

/* 뒤로가기 버튼 */
.btn-back {
    background-color: #acacac;
    color: #ffffff;
}

.btn-disable{
    background:#FF9800;
}

.btn-enable{
    background:#43A047;
}

.btn-edit{
    background:#0088cc;
    color:#ffffff;
}

.btn-gray{
    background:#6c757d;
    color:#ffffff;
}

.btn-hold {
	background:#dedede;
	color:#252525;
}

.btn-admin {
    background-color: #cdd5ff;
    color: #2e3159;
}

.btn-small{
    height:30px;
    padding:0 3px;
}


.btn-getout {
    background: #c05959;
    color: #fff;
    border: 1px solid #c05959;
}

.btn-wrap{
    display:flex;
    flex-direction:row;
    gap:10px;
}

.btn-wrap button {
    flex: 1;
    height: 35px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-box {
	padding: 12px 12px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
	border: 1px solid #f1f1f1;
}

.mt10 {
	margin-top: 10px;
}

.mt5 {
	margin-top: 5px;
}
/* =========================================================
 * PLACEHOLDER COLOR
 * ========================================================= */

input::placeholder,
textarea::placeholder {
    color: #AFCFF5;
    opacity: 1;
}

/* =========================================================
 * MESSAGE
 * ========================================================= */

.text-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

.text-success {
    color: #16a34a;
    font-size: 14px;
    margin-top: 4px;
}

/* =========================================================
 * TABLET
 * ========================================================= */

@media (max-width: 768px) {

    .container {
        margin: 20px auto;
        padding: 15px;
    }
    .card {
        padding: 20px;
    }
    .page-title {
        font-size: 24px;
    }
}

/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 480px) {

	.container {
        margin: 15px auto;
    }
    .page-title {
        font-size: 22px;
    }
}

