
    .page-layout {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
    }
	.top-bar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 20px;
		background: #fff;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
		z-index: 100;
		position: sticky;
		top: 0;
		height:60px;
		box-sizing: border-box;
	}

	
	.top-bar .logo {
		font-size: 18px;
		font-weight: 600;
		display: flex;
		justify-content: center;
		align-items: center
	}


	.top-bar .logo img {
		height: 40px;
		margin-right: 10px;
	}

	.top-bar .logo span {
		display: flex;
		justify-content: flex-start;
		align-items: center
		font-size: 20px;
		font-weight: 400;
		margin-left:16px;
		width:300px;
	}
	.top-bar .top-actions {
		display: flex;
		gap: 12px;
		align-items: center;
	}

	.top-bar .top-actions i {
		font-size: 24px;
		cursor: pointer;
	}

	.main-wrapper {
		display: flex;
		flex: 1;
	}
	/* 오른쪽 메뉴 */
	.side-menu-right {
		position: fixed;
		top: 0;
		right: -300px;
		width: 300px;
		height: 100%;
		background-color: #333;
		color: white;
		padding-top: 60px;
		/*box-shadow: -2px 0 5px rgba(0,0,0,0.5);*/
		transition: right 0.3s ease-out; 
		z-index: 5;
		box-sizing: border-box;
	}

	.side-menu-right.open {
		right: 0;
	}

	.side-menu-right ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.side-menu-right ul li a {
		display: block;
		padding: 15px 20px;
		color: white;
		font-size:15px;
		text-decoration: none;
		border-bottom: 1px solid #444;
	}

	.side-menu-right ul li a:hover {
		background-color: #555;
	}

	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 2;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
	}

	.overlay.active {
		opacity: 1;
		visibility: visible;
	}



	/* 왼쪽 사이드 메뉴 */
	.side-menu {
		position: fixed;
		/*position: relative;*/
		width: 220px;
		background: #fff;
		/*box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);*/
		padding: 20px 0;
		z-index: 1;
		box-sizing: border-box;
	}
    .side-menu ul {
		list-style: none;
		padding: 0;
		margin: 0;
    }
    .side-menu li {
		padding: 12px 24px;
		font-size: 15px;
		color: #333;
		cursor: pointer;
    }
    .side-menu li:hover {
		background: #e3f7fb;
		color:#333;
		border-top-right-radius: 16px;
		border-bottom-right-radius: 16px;
    }
	.side-menu li.active {
		background: #f0f0f0;
		font-weight: bold;
		border-top-right-radius: 16px;
		border-bottom-right-radius: 16px;
    }

	.side-menu li a {
		display: block;
		color: inherit;
		text-decoration: none;
	}

    .content-area {
		margin-left:220px;
		flex: 1;
		/*padding: 20px 20px;*/

    }

	.container {
		padding: 20px 30px;
	}


    .form-title {
		/*
		max-width: 600px;
		margin: 0 auto;
		*/
		margin:0px;
		padding:20px 20px;
		box-sizing: border-box;
		/*background: #eee;*/
		border-left:solid 1px #eee;
		border-right:solid 1px #eee;
    }
	
    .form-title h3 {
		font-size: 16px;
		font-weight: 600;
    }

    .form-remove {
		margin-left:14px;
		font-weight: 400;
		padding:20px 20px 40px;
		font-size: 16px;
		font-weight: 600;
    }
    .form-remove a {
		padding:0;
		color:#595959;
    }
    .form-section {
		/*max-width: 600px;*/
		margin: 0 auto;
		background: #fff;
		padding: 20px 30px;
		/*border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);*/
		border:solid 1px #eee;
    }
    .form-subtitle {
		margin-top:16px;
		font-size: 24px;
		font-weight: 600;
		margin-bottom: 30px;
    }
    .form-group {
		display: flex;
		justify-content: space-between;
		align-items: center;

		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom:solid 1px #eee;

    }
    .form-group:last-child {
		margin-bottom: 0px;
		border-bottom:solid 0px #fff;
		/*
		display: flex;
		justify-content: space-between;
		align-items: center;
		*/
    }
    .form-group.inline {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
    }
    .form-group label {
		padding-left:0px;
		font-weight: 400;
		font-size:14px;
    }
	.form-group .user-id {	
		padding-left:0px;
		font-size:18px; 
		font-weight:700;
	}
	/*
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="email"] {
		padding: 12px;
		border: 1px solid #ccc;
		border-radius: 8px;
		font-size: 15px;
    }
	*/


	.form-group input[type="password"],
	.form-group input[type="text"],
    .form-group input[type="email"] {
		width: 100%;
		padding: 12px 44px 12px 12px;
		font-size: 15px;
		border: 1px solid #ccc;
		border-radius: 8px;
		box-sizing: border-box;
		transition: border-color 0.2s;
	}
	.form-group input:focus {
		border-color: #1976d2;
		outline: none;
	}

    .form-actions {
		text-align: center;
    }
    .form-actions button {
		padding: 12px 32px;
		background-color: #e92829;
		color: white;
		border: none;
		border-radius: 8px;
		font-size: 16px;
		cursor: pointer;
    }
    .form-actions button:hover {
		background-color: #0056b3;
    }

    @media (max-width: 354px) {
		.form-group.inline-country {
			display:block;
		}
		.form-group.inline-country label {
			margin-bottom:14px;
		}
	}

    .popup-layer {
		display: none;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background: #fff;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
		z-index: 9999;
		box-sizing: border-box;
    }
    .popup-layer.active {
		display: block;
    }
    .popup-layer h3 {
		font-size: 14px;
	}
    .popup-layer input {
		width: 100%;
		margin-top: 10px;
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 6px;
		box-sizing: border-box;
    }
    .popup-layer .popup-buttons {
		margin-top: 20px;
		text-align: right;
    }
    .popup-layer .popup-buttons button {
		margin-left: 10px;
		padding: 8px 20px;
    }
    @media (max-width: 768px) {
		.main-wrapper {
			flex-direction: column;
		}

		.top-bar .logo {
			display: flex;
			justify-content: center;
			align-items: center
		}

		.top-bar .logo span {
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 16px;
			font-weight: 400;
			max-width: 100%;
			width:100%;
			padding-left:16px;
			text-align:center;
			margin:0 auto;
			box-sizing: border-box; 
		}
		.side-menu {
			width: 100%;
			display: flex;
			overflow-x: auto;
			border-bottom: 1px solid #ddd;
		}
		.side-menu ul {
			display: flex;
		}
		.side-menu li {
			flex-shrink: 0;
			padding: 12px 16px;
		}
		.content-area {
			margin-left:0;
			margin-top:110px;
		}
		.form-section {
			padding: 20px;
		}
			
		.form-group .user-id {	
			font-size:20px; 
			font-weight:500;
		}
    }


	/* config.php */


	.settings-wrapper {
		padding: 20px;
	}

	.settings-card {
		background: #fff;
		border-radius: 16px;
		box-shadow: 0 4px 10px rgba(0,0,0,0.05);
		padding: 24px;
		max-width: 600px;
		margin: 0 auto;
	}

	.setting-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 16px 0;
		border-bottom: 1px solid #eee;
	}

	.setting-item:last-child {
		border-bottom: none;
	}

	.setting-label {
		font-size: 16px;
		color: #333;
	}

	.setting-value {
		font-size: 16px;
		font-weight: 500;
		color: #555;
		text-align: right;
	}
	
	.mode-label {
		font-size: 16px;
		color: #333;
	}
	.mode-value {
		font-size: 16px;
		font-weight: 600;
		color: #555;
		text-align: right;
	}
	.mode-value p {
		margin-top:10px;
		font-size: 16px;
		font-weight: 400;
		color: #555;
		text-align: right;
	}

	/* 반응형 */
	@media (max-width: 600px) {
		.setting-item {
			flex-direction: column;
			align-items: flex-start;
			gap: 8px;
		}

		.setting-value {
			font-size: 15px;
		}


		.popup-layer {
			width: 90vw;       /* 화면 너비의 90% */
			max-height: 90vh;  /* 화면 높이의 90% */
		}
	}


	.gray-button {
		background-color: #eee;
		border: none;
		padding: 6px 14px;
		font-size: 14px;
		border-radius: 6px;
		cursor: pointer;
		transition: all 0.2s ease;
		margin-left: 12px;
	}
	.gray-button:hover {
		background-color: #e92829;
		color: white;
	}

	.mobile-slider {
		position: absolute;
		cursor: pointer;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #ccc;
		transition: 0.3s;
		border-radius: 30px;
		z-index:0;
	}
	.mobile-slider::before {
		position: absolute;
		content: "";
		height: 26px;
		width: 26px;
		top: 3px;
		left: 3px;
		background-color: white;
		border-radius: 50%;
		transition: 0.3s;
		z-index: 2;
	}
	.mobile-slider::after {
		position: absolute;
		color: white;
		font-size: 13px;
		line-height: 32px;
		font-weight: bold;
		z-index: 1;
		transition: 0.3s;
	}
	.mobile-radio-group {
		display: flex;
		gap: 16px;
		padding-top: 8px;
	}
	.mobile-radio {
		position: relative;
		padding-left: 32px;
		cursor: pointer;
		font-size: 15px;
		user-select: none;
	}
	.mobile-radio input {
		position: absolute;
		opacity: 0;
		cursor: pointer;
	}
	.mobile-radio .checkmark {
		position: absolute;
		left: 0;
		top: 2px;
		height: 20px;
		width: 20px;
		background-color: #eee;
		border-radius: 50%;
		border: 1px solid #ccc;
	}
	.mobile-radio input:checked ~ .checkmark {
		background-color: #e92829;
		border-color: #e92829;
	}
	.mobile-radio .checkmark:after {
		content: "";
		position: absolute;
		display: none;
	}
	.mobile-radio input:checked ~ .checkmark:after {
		display: block;
	}
	.mobile-radio .checkmark:after {
		top: 5px;
		left: 5px;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: white;
	}


	.mobile-switch {
		position: relative;
		display: inline-block;
		width: 70px;
		height: 32px;
		vertical-align: middle;
	}
	.mobile-switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

	.mobile-switch input:not(:checked) + .mobile-slider::after {
		content: '거부';
		right: 8px;
		text-align: right;
	}
	.mobile-switch input:checked + .mobile-slider {
		background-color: #e92829;
	}
	.mobile-switch input:checked + .mobile-slider::before {
		transform: translateX(38px);
	}
	.mobile-switch input:checked + .mobile-slider::after {
		content: '허용';
		left: 8px;
		text-align: left;
	}


	.alarm-switch {
		position: relative;
		display: inline-block;
		width: 70px;
		height: 32px;
		vertical-align: middle;
	}
	.alarm-switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}
	.alarm-switch input:not(:checked) + .mobile-slider::after {
		content: '꺼짐';
		right: 8px;
		text-align: right;
	}
	.alarm-switch input:checked + .mobile-slider {
		background-color: #e92829;
	}
	.alarm-switch input:checked + .mobile-slider::before {
		transform: translateX(38px);
	}
	.alarm-switch input:checked + .mobile-slider::after {
		content: '켜짐';
		left: 8px;
		text-align: left;
	}

	/* 모바일 스타일 드롭다운 */
	.mobile-select {
		appearance: none;           /* 기본 브라우저 스타일 제거 */
		-webkit-appearance: none;
		-moz-appearance: none;

		background-color: #f9f9f9;
		border: 1px solid #ccc;
		padding: 12px 16px;
		font-size: 15px;
		border-radius: 10px;
		width: 100%;
		box-shadow: 0 2px 4px rgba(0,0,0,0.05);
		transition: border 0.2s ease, box-shadow 0.2s ease;
		background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 12px center;
		background-size: 18px;
	}

	.mobile-select:focus {
		outline: none;
		border-color: #e92829;
		box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
	}




	.pagination {
		text-align: center;
		margin-top: 30px;
	}

	.pagination a {
		display: inline-block;
		margin: 0 5px;
		padding: 10px 16px;
		border: 1px solid #ccc;
		border-radius: 50%;
		text-decoration: none;
		font-size: 14px;
		color: #333;
	}

	.pagination a.active {
		background: #1976d2;
		color: #fff;
		border-color: #1976d2;
	}
	@media (max-width:768px){
		.pagination a {
			margin:0 3px;
			padding:8px 10px;
		}
	}