@charset "utf-8";
/*
    reset style
*/
html, body, div, span, applet, object, iframe,p, blockquote, pre, a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {margin:0;padding:0;border:0;vertical-align:baseline;}
html, body, div, applet, object, iframe,p, blockquote, pre, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif; color:#333; letter-spacing:0px; -webkit-text-size-adjust:100%;}
h1, h2, h3, h4, h5, h6{margin:0; padding:0; border:0; vertical-align:baseline; font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif; font-weight:bold; color:#333; letter-spacing:0px;}
label{margin:0; padding:0; border:0; vertical-align:baseline; font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif; color:#333; letter-spacing:0px;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

ol, ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after,q:before, q:after {content:''; content:none;}
table {border-collapse:collapse; border-spacing:0;}
caption {width:0; height:0; visibility:hidden; line-height:0; font-size:0; overflow:hidden;}
a,a:visited,a:hover,a:active{text-decoration:none;}
input, select, textarea, button {margin:0; padding:0; letter-spacing:0px; font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif;}
button {margin:0; padding:0; background:none; border:none; cursor:pointer;}

/***** base *****/
.clearFix {zoom:1;}
.clearFix:after,
.clearFix:before {display:block; content:'';}
.clearFix:after {clear:both}

.a11y {display:block; overflow:hidden; position:absolute; left:-9999px; width:1px; height:1px; font-size:0; line-height:0; text-indent:-9999px;}
.noBg {background:none !important;}

select {float:left; padding:0 42px 0 12px; height:38px; font-size:14px; color:#999; background:#fff url('../../resources/images/common/ico_selectbox_arrow.gif') no-repeat right center; border:1px solid #ccc; appearance:none; -webkit-appearance:none; box-sizing:border-box;}
select::-ms-expand {display:none;}
/* placeholder color */
::-webkit-input-placeholder {color:#999 !important}
:-webkit-input-placeholder {color:#999 !important}
::-moz-placeholder {color:#999 !important}
:-moz-placeholder {color:#999 !important}
:-ms-input-placeholder {color:#999 !important}

ul.claerFix{
	width:1150px;
	height: 51px;
	position: relative;
	display: block;
    list-style-type:none;
	float:left;
}

img.logo{
	top:5px;
	position: relative;
}

.top_left {
     float: left;
     line-height:30px;
     vertical-align: middle;
     margin-left: 15px;
     margin-bottom: 0px;
     margin-top: 0px;
     width: 400px;
     z-index: 10;
}

.top_right {
     float: right;
     line-height: 75px;
     vertical-align: middle;
     margin-right: 15px;
     z-index: 10;
}


input#start_time{
	height: 26px;
    line-height: 26px;
}

a.btnGray {float: left; top:0; right:0; padding:0 20px; height:36px; line-height:36px; color:#ffffff; font-size:14px; text-align:center;	border:1px solid #dfdfdf; background:#c9c7c7; cursor:pointer;}


@media screen and (orientation:portrait) {
	
/*
    reset style
*/
html, body, div, span, applet, object, iframe,p, blockquote, pre, a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {margin:0;padding:0;border:0;vertical-align:baseline;}
html, body, div, applet, object, iframe,p, blockquote, pre, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif; color:#333; letter-spacing:0px; -webkit-text-size-adjust:100%;}
h1, h2, h3, h4, h5, h6, label{margin:0; padding:0; border:0; vertical-align:baseline; font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif; font-weight:bold; color:#333; letter-spacing:0px;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body {line-height:1;}
ol, ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after,q:before, q:after {content:''; content:none;}
table {border-collapse:collapse; border-spacing:0;}
caption {width:0; height:0; visibility:hidden; line-height:0; font-size:0; overflow:hidden;}
a,a:visited,a:hover,a:active{text-decoration:none;}
input, select, textarea, button {margin:0; padding:0; letter-spacing:-1px; font-family:'Pretendard', '돋움', dotum, Helvetica, sans-serif;}
button {margin:0; padding:0; background:none; border:none; cursor:pointer;}

/***** base *****/
.clearFix {zoom:1;}
.clearFix:after,
.clearFix:before {display:block; content:'';}
.clearFix:after {clear:both}

.a11y {display:block; overflow:hidden; position:absolute; left:-9999px; width:1px; height:1px; font-size:0; line-height:0; text-indent:-9999px;}
.noBg {background:none !important;}

select {float:left; padding:0 42px 0 12px; height:38px; font-size:14px; color:#999; background:#fff url('../../resources/images/common/ico_selectbox_arrow.gif') no-repeat right center; border:1px solid #ccc; appearance:none; -webkit-appearance:none; box-sizing:border-box;}
select::-ms-expand {display:none;}
/* placeholder color */
::-webkit-input-placeholder {color:#999 !important}
:-webkit-input-placeholder {color:#999 !important}
::-moz-placeholder {color:#999 !important}
:-moz-placeholder {color:#999 !important}
:-ms-input-placeholder {color:#999 !important}

ul.claerFix{
	width:100%;
	height: 40px;
	position: relative;
	display: block;
    list-style-type:none;
	float:left;
}

img.logo{
	top:5px;
	position: relative;
}

.top_left {
     float: left;
     line-height:30px;
     vertical-align: middle;
     margin-left: 15px;
     margin-bottom: 0px;
     margin-top: 0px;
     width: 400px;
     z-index: 10;
}

.top_right {
     float: right;
     line-height: 75px;
     vertical-align: middle;
     margin-right: 15px;
     z-index: 10;
}

/* disable blue highlight 
a, button {
	-webkit-tap-highlight-color: rgba(255,255,255,0);
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
*/
input#start_time{
	height: 26px;
    line-height: 26px;
}

a.btnGray {position:absolute; top:0; right:0; padding:0 20px; height:36px; line-height:36px; color:#fff; font-size:14px; text-align:center;	border:1px solid #b3b2b1; background:#a1a1a1; cursor:pointer;}
}

.choiceDevice {
        width: calc(100% - 108px - 30px);
        display: inline-flex; /* 아이콘과 텍스트를 한 줄에 정렬 */
        float: right;
        align-items: center; /* 수직 중앙 정렬 */
        height: 60px;
        line-height: 60px;
        margin-left: 880px; /* 요청하신 20px (1.25rem) 적용 */
        margin-top: -60px;
        position:fixed;
        padding: 0 10px;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .choiceDevice img { 
        width: 50px; 
        height: 50px; 
        margin-right: 8px; 
        vertical-align: middle; 
        border-radius: 4px;
    }
       /* 1. 토글 스위치 컨테이너 정렬 */
.etc .role-switch-container {
    /* p.welcome 옆에 float 처리 */
    float: right; 
    margin-right: 15px; /* 로그아웃 버튼과의 간격 */
    line-height: 40px; /* etc 영역 높이에 맞춰 수직 중앙 정렬 */
}

/* 2. 토글 스위치 전체 및 라벨 스타일 (이전 답변과 동일) */
.role-switch-wrapper {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

    
/* 마스터 관리자일 때만 적용 */
.is-master-admin #header .rowBottom .menu li.active {
    position: relative;
    top: -1px;
    /* 요청하신 색상으로 변경 */
    background: #21a510; /* 주황색 */
    border: 1px solid #245309; /* 진한 주황색 테두리 */
    text-align: center;
}

/* 관리자 타입 구분 텍스트 스타일 (선택 사항) */
.master-admin-badge {
    color: white; /* 마스터 관리자 텍스트 색상 */
    font-weight: bold;
    margin-right: 5px;
}

.device-admin-badge {
    color:  white; /* 장비 관리자 텍스트 색상 (예시) */
    font-weight: normal;
    margin-right: 5px;
}

/* -------------------------------------- */
/* 1. 토글 스위치 전체 및 라벨 스타일 */
/* -------------------------------------- */
.role-switch-wrapper {
    display: inline-flex; /* 요소들을 한 줄에 정렬 */
    align-items: center;
    margin-right: 15px;
    vertical-align: middle;
}

.role-label-off,
.role-label-on {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    margin: 0 5px;
    transition: color 0.3s;
}

/* 현재 역할에 따라 라벨 강조 */
.toggle-track.checked + .role-label-on {
    color: #21a510; /* 마스터 관리자(ON) 색상 */
}

.role-switch-wrapper .toggle-switch-link {
    text-decoration: none; /* 링크의 밑줄 제거 */
}

/* -------------------------------------- */
/* 2. 스위치 몸통 (Track) 스타일 */
/* -------------------------------------- */
.toggle-track {
    display: block;
    width: 50px; /* 스위치 전체 폭 */
    height: 24px; /* 스위치 전체 높이 */
    border-radius: 12px;
    background-color: #ccc; /* 장비 관리자 (OFF) 배경색 */
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* 마스터 관리자 (ON) 상태일 때 배경색 변경 */
.toggle-track.checked {
    background-color: #21a510; /* 마스터 관리자 (ON) 배경색 */
}

/* -------------------------------------- */
/* 3. 스위치 버튼 (Thumb) 스타일 */
/* -------------------------------------- */
.toggle-thumb {
    display: block;
    width: 20px; /* 버튼 크기 */
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 2px; /* Track 내부 중앙 정렬 */
    left: 2px; /* 장비 관리자 (OFF) 위치 */
    transition: transform 0.3s, left 0.3s;
}

/* 마스터 관리자 (ON) 상태일 때 버튼 이동 */
.toggle-track.checked .toggle-thumb {
    /* 50px(전체 폭) - 20px(버튼 폭) - 2px(좌 마진) - 2px(우 마진) = 26px 이동 */
    left: 28px; 
}

/* 마우스 오버 시 스타일 */
.role-toggle-btn:hover {
    opacity: 0.8;
}

.alimtalk-btn {
    background-color: #F7E600; /* 카카오톡 옐로우 */
    color: #3C1E1E;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: bold;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.alimtalk-btn:hover {
    background-color: #cab426;
}


