/* 공통*/
.body-contents,
.user-edit{
    min-height: 100vh;
    background-color: #ffffff;
}

/* 비밀번호 찾기*/
.find-account{
	position: relative;
}

.find-account .contents {
    padding: 20px 20px 0 20px;
}

.history .mntnce-contents {
    padding: 20px 20px 0 20px;
}

.find-account .contents::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 154px;
    background: #9f1212;
}

.history .mntnce-contents::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 154px;
    background: #9f1212;
}

/* 박스 타입3 */
.box-type3 {padding: 6px; background: url('../images/pattern-box.png');}
.box-type3 .box-color {padding: 15px; background: #f9f9f9;}

li {
    list-style: none;
}

/* 카드 디자인 */
.find-account .find-account-card {
    position: relative;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

/* 폼 제목 */
.find-account .form-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 15px;
}

.find-account .form-subtitle {
    font-size: 13px;
    color: #ff0101;
    margin-bottom: 15px;
    line-height: 1.6;
    background: #c1c1c1;
    padding-top: 25px;
    padding-bottom: 25px;
}

/* 폼 그룹 */
.find-account .form-group {
    margin-bottom: 25px;
}

.find-account .form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #000000;
}

/* 이메일 입력 필드 */
.find-account .form-group input[type="text"],
.find-account .form-group input[type="email"] {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}


/* 전송 버튼 */
.find-account .btn-submit {
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #bb0006;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.find-account .btn-submit:hover {
    background-color: #a80c11;
}

.find-account .submit-group {
    margin-top: 30px;
}

/* 사용자 정보 수정 */

/* 전체 컨테이너 */
.user-edit .container {
    position: relative;
    padding: 20px 20px 0 20px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.user-edit .contents {
    position: relative;
    padding: 20px 20px 20px 20px;
}

.user-edit .contents::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 154px;
    background: #9f1212;
}

/* 제목 */
.user-edit h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 22px;
}

/* 약관 박스 */
.user-edit .agreement-box {
    border: 1px solid #ddd;
    padding: 15px 20px;
    background-color: #fdfdfd;
    margin-bottom: 10px;
    font-size: 15px;
    max-height: 400px;
    border-radius: 4px;
    color: #333;
}

/* 약관 동의 체크 */
.user-edit .agreement-check {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.user-edit .agreement-check label {
    cursor: pointer;
}

/* 안내 문구 박스 */
.user-edit .info-box {
    background-color: #eef3f7;
    padding: 15px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid #d3e0e9;
    border-radius: 4px;
    color: #000000;
}

.user-edit .mt1 {
    margin-top: 5px;
}

.user-edit .info-box .highlight-text {
    font-weight: bold;
}

/* 정보 입력 영역 컨테이너 */
.user-edit .form-section {
    display: flex;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* 왼쪽/오른쪽 컬럼 */
.user-edit .form-column {
    width: 50%;
    background-color: #fff;
}

.user-edit .form-column:first-child {
    border-right: 1px solid #eee;
}

/* 각 입력 필드 그룹 */
.user-edit .form-group {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eee;
    height: 78.537px;
}

.user-edit .form-column .form-group:last-child {
    border-bottom: none;
}

/* 라벨 */
.user-edit .form-group label {
    width: 130px;
    font-weight: bold;
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
    box-sizing: border-box;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

/* 입력칸 */
.user-edit .form-group .input-wrapper {
    flex-grow: 1;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-edit .form-group input[type="text"],
.user-edit .form-group input[type="password"],
.user-edit .form-group input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 13px;
}

.user-edit .form-group input:focus {
    border-color: #5dade2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(93, 173, 226, 0.2);
}

.user-edit .form-group input[readonly] {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* 필수 입력 표시 */
.user-edit .required {
    color: #D90000;
    margin-left: 3px;
    font-weight: bold;
}

/* 버튼 그룹 */
.user-edit .button-group {
    text-align: center;
    margin-bottom: 30px;
}

.user-edit .button-group button {
    padding: 10px 25px;
    margin: 0 8px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.user-edit .button-group button {
    background-color: #6c7e90;
    color: #ffffff;
}

.user-edit .button-group button:hover {
    background-color: #424d59;
}

.user-edit .button-group button.primary {
    background-color: #bb0006;
    color: white;
}

.user-edit .button-group button.primary:hover {
    background-color: #a00000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 실시간 피드백 메시지 */
.user-edit .help-message {
    font-size: 11px;
    margin-top: 5px;
    margin-bottom: 0;
    height: 1.2em;
    visibility: hidden;
    transition: visibility 0.2s;
}

.user-edit .help-message.valid,
.user-edit .help-message.invalid {
    visibility: visible;
}

.user-edit .help-message.valid {
    color: #2ecc71;
}

.user-edit .help-message.invalid {
    color: #e74c3c;
}

/* 잔여일 텍스트 스타일 */
.user-edit .remaining-days {
    font-weight: bold;
}

.user-edit .form-group.no-border label {
    background-color: transparent;
    border-right: none;
}

/* 비밀번호 변경 팝업 */
body.Pwpopup{
	overflow: hidden;
	margin: 0;
	zoom: 1.0;
}

.changePW-popup {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}

.changePW-popup .popup-container {
    width: 450px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.changePW-popup .popup-header {
    padding: 25px 30px;
    background-color: #bb0006;
    border-bottom: 1px solid #e0e0e0;
}

.changePW-popup .popup-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.changePW-popup .popup-content {
    padding: 30px;
    line-height: 1.7;
    font-size: 15px;
    color: #555;
}

.changePW-popup .popup-content strong {
    color: #D90000;
    font-weight: 600;
}

.changePW-popup .popup-content .highlight {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.changePW-popup .button-container {
    padding: 20px 30px;
    background-color: #f9f9f9;
    text-align: right;
    border-top: 1px solid #e0e0e0;
}

.changePW-popup .btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-left: 10px;
}

.changePW-popup .btn-primary {
    background-color: #bb0006;
    color: white;
}

.changePW-popup .btn-primary:hover {
    background-color: #a00000;
    box-shadow: 0 2px 5px rgba(217, 0, 0, 0.3);
}

.changePW-popup .btn-secondary {
    background-color: #6c7e90;
    color: white;
}

.changePW-popup .btn-secondary:hover {
    background-color: #424d59;
}

/* details 태그 스타일 */
details {
	border: 1px solid #eee;
	border-radius: 4px;
	margin-bottom: 10px;
}

details summary {
	cursor: pointer;
	font-weight: bold;
	outline: none;
	list-style: none; /* 기본 삼각형 제거 */

	position: sticky; 	/* 상단 고정 */
	top: 0;
	background-color: #fff;
	padding: 15px;
	border-bottom: 1px solid #ddd;
	z-index: 10;
}

/* summary 옆에 화살표 표시 */
details summary::-webkit-details-marker {
	display: inline-block;
}

/* details가 열려있을 때 summary와 내용 사이 간격 */
details[open] summary {
	margin-bottom: 0;
	border-bottom: 1px solid #ddd;
}

/* 내용 영역 스타일 */
.details-content {
	padding: 10px;
	max-height: 300px;
	overflow-y: auto;
}

.txt5.mt10{
	padding-left: 0px;
}

.txt5.mt11,
.txt5.mt11 li{
	padding-left: 0px;
	padding-bottom: 5px;
	
}

/* mntnceHistoryList.jsp */
.input-type1._datepicker2 {
	border: 1px solid #9b9b9b;
	border-radius: 3px;
	height: 30px;
	font-size: 14px;
	line-height: 30px;
	color: #666666;
	font-family: 'Noto Regular';
	letter-spacing: 0;
	padding: 0 10px;
	vertical-align: middle;
	width: 187px;
}