/*
파일 : /css/common.css
설명 : 공통 스타일
Version : 1.0
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:"Malgun Gothic","맑은 고딕",sans-serif;
    font-size:15px;
    color:#333333;
    background:#f4f6f9;
}

a{
    color:inherit;
    text-decoration:none;
}

ul{
    list-style:none;
}

button{
    cursor:pointer;
    font-family:inherit;
}

select{
    cursor:pointer;
    font-family:inherit;
    font-size:14px;
}

input{
    font-family:inherit;
    font-size:14px;
}

progress{
    width:140px;
    height:14px;
}

h1{
    font-size:34px;
    font-weight:700;
}

h2{
    font-size:24px;
}

h3{
    font-size:20px;
}

.hidden{
    display:none;
}

.text-center{
    text-align:center;
}

.text-right{
    text-align:right;
}

.text-left{
    text-align:left;
}

.mt10{
    margin-top:10px;
}

.mt20{
    margin-top:20px;
}

.mb10{
    margin-bottom:10px;
}

.mb20{
    margin-bottom:20px;
}

.p10{
    padding:10px;
}

.p20{
    padding:20px;
}

.card{

    background:#ffffff;

    border-radius:10px;

    box-shadow:0 2px 5px rgba(0,0,0,.08);

    padding:20px;

}

.notice{

    color:#e74c3c;

    font-weight:bold;

}

.success{

    color:#27ae60;

    font-weight:bold;

}

.warning{

    color:#f39c12;

    font-weight:bold;

}

#loginOverlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}
#loginModal{
    width:320px;
    padding:30px;
    background:white;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
#loginModal h2{
    margin-bottom:20px;
}
#loginModal input{
    width:90%;
    padding:10px;
    margin:8px;
    border:1px solid #ccc;
    border-radius:8px;
}
#loginModal button{
    width:90%;
    padding:12px;
    margin:8px;
    border:none;
    border-radius:8px;
    cursor:pointer;
}