﻿a {
    color: #000;
}

.small {
    font-size: 1em;
    font-family: NanumFont;
}

.ui_textbox.numeric, .ui_textbox.numeric * {
    text-align: left;
}

.ur_lbl a {
    line-height: 18px;
    vertical-align: middle;
    padding-top: 3px;
}

.ur_tbl {
    border-bottom: solid 1px #ccc;
}

.ur_th {
    background-color: #f5f5f5;
    min-width: 60px;
}

.ur_td {
    box-sizing: border-box;
    padding: 2px 2px;
}

.ur_tbl01 {
    border-bottom: solid 1px #ccc;
}

.ur_th01 {
    border-top: solid 1px #ccc;
    background-color: #f5f5f5;
    min-width: 60px;
}

.ur_td01 {
    border-top: solid 1px #ccc;
    box-sizing: border-box;
    padding: 2px 2px;
}

.ur_brT1 {
    border-top: solid 1px #ccc;
}

.ur_brB1 {
    border-bottom: solid 1px #ccc;
}

.ur_ex {
    text-align: left !important;
}

.ur_btn {
    padding: 0 10px;
    font: normal 13px / 20px NanumFont;
    border-width: 1px;
    border-style: solid;
    border-color: #2b5db4;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #4379c5;
    color: #fff;
    letter-spacing: -1px;
    height: 90%;
}

.scroll-box {
    height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
}

#keypad {
    position: absolute;
    display: none;
    grid-template-columns: repeat(3, 70px);
    gap: 10px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.key {
    padding: 18px;
    background-color: #f0f0f0;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 20px;
    border-radius: 10px;
    user-select: none;
    transition: background-color 0.2s;
}

    .key:hover {
        background-color: #ddd;
    }

    .key:active {
        background-color: #ccc;
    }

.backspace {
    background-color: #ffcccc;
}

.toggle-btn {
    margin-top: 10px;
    font-size: 16px;
    padding: 8px 16px;
    border: none;
    background-color: #337ab7;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

    .toggle-btn:hover {
        background-color: #286090;
    }

.ur_pr {
    padding-right: 2px;
}

.ur_pl {
    padding-left: 2px;
}

#btnGuide {
    display: none;
}

/* 모달 배경 (반투명한 어두운 영역) */
.ur_modal_overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
}

/* 모달 본문 영역 */
.ur_modal_content {
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.3s ease;
    border: 5px solid #4c709b
}

/* 간단한 fadeIn 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 0) {
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
    .ur_brT1 {
        border-top: solid 1px #ccc;
    }

    .ur_th01 {
        border-top: solid 1px #ccc;
    }

    .ur_td01 {
        border-top: solid 1px #ccc;
    }
}
@media (min-width: 1200px) {
}

@media (min-width: 1400px) {
}

@media (max-width: 576px) {
    .ur_th {
        padding-left: 5px;
        padding-right: 2px;
    }
}

@media (max-width: 768px) {
    .ur_tbl {
        border-top: solid 1px #ccc;
    }

    .ur_th {
        /*border-top: solid 1px #ccc;*/
        padding-right: 2px;
    }

    .ur_td {
        /*border-top: solid 1px #ccc;*/
    }

    .ur_brT1 {
        border-top: solid 1px #ccc;
    }

    .ur_ex {
        text-align: right !important;
    }

    .ur_btn {
        height: 40px;
    }

    .ur_pr {
        padding-right: 12px;
    }

    .ur_pl {
        padding-left: 12px;
    }

    #btnGuide {
        display: inline;
    }
}
