html, body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

#components-reconnect-modal {
    display: none !important; /* ÀçÁ¢¼Ó ½Ãµµ ÆË¾÷ ¸ðµç »óÅÂ¿¡¼­ ¼û±è */
}

#blazor-error-ui { 
    /*background: transparent !important;*/
}


a, .btn-link {
    color: #006bb7;
}

.sidebar{
    min-width: 250px !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI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LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.fs-7{
    font-size:0.8rem;
}

.main-reqcard {
    border-radius: 1rem;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15); 
}

.history_card{
    max-width:1400px;
    margin-bottom:200px;
}

.reqcard {
    border-radius: 1rem;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10rem;
}

.reqcard_his {
    border-radius: 1rem;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
  
}
/* ¸ð¹ÙÀÏ È­¸é(¿¹: È­¸é Æø 600px ÀÌÇÏ*/
@media (max-width: 600px) {
    .reqcard {
        box-shadow: none;
        border: none;
        padding : 0 !important;
    }
    .m_hd{
        display: none;        
    }
    .sms-tid-popup-content {
        font-size: 0.8rem;
        padding: 30px 20px !important;
    }
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5); /* ¹ÝÅõ¸í ¹é±×¶ó¿îµå */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* ´Ù¸¥ ¿ä¼Ò À§¿¡ ³ª¿Àµµ·Ï */
}

.loading-popup-content {
    background: white;
    border-radius: 16px;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
}

.purchase_item{

    font-weight: 500;
    color: #25910b;

}

.pop_title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pop_submit{

    margin-top: 1rem;
}

.pop_ok {
    border: none;
    border-radius: 8px;
    background-color: #3385ff;
    font-size: 16px;
    font-weight: 400;
    width: 40%;
    height: 28px;
    color: white;
}

    .pop_ok:hover {
        background-color: #006bb3;
    }


.btn_gohome {
    border: none;
    border-radius: 8px;
    background-color: #3385ff;
    font-size: 16px;
    font-weight: 400;
    width: 40%;
    height: 28px;
    color: white;
    text-decoration: none;
    padding: 10px;
}

    .btn_gohome:hover {
        background-color: #006bb3;
    }

.pop_cancel {
    border: none;
    border-radius: 8px;
    background-color: #ff5c33;
    font-size: 16px;
    font-weight: 400;
    width: 40%;
    height: 28px;
    color: white;
}

    .pop_cancel:hover {
        background-color: #ff3300;
    }



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 18px;
    font-size: 20px;
    color: #3498db;
    font-weight: 600;
    letter-spacing: 1px;
}

.site-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgb(5,22,61);
    color: #fff;
    text-align: center;
    padding: 16px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
    font-size: 16px;
    z-index: 1000;
}
/* ¸ð¹ÙÀÏ È­¸é(¿¹: È­¸é Æø 600px ÀÌÇÏ)¿¡¼­´Â fixed ÇØÁ¦ */
@media (max-width: 600px) {
    .site-footer {
        position: static;      
    }
}


.footer-content{
    white-space: normal;
    font-size:0.8rem;
    font-weight: 100;
    
   
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    width: 100%;
    word-break: break-all;
}

    .footer-content span {
        width: 100%;
        display: block;
    }

    .footer-content a {
        margin-top: 6px;
        display: inline-block;
    }

.btn-request {
    border: none;
    border-radius: 8px;
    background-color: #FEE500;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    min-height: 48px;
    min-width: 7rem;
}
    .btn-request:hover {
        background-color: #cbb40c;
    }

.btn-talk {
    border: none;
    border-radius: 8px;
    background-color: #ffe668;
    font-size: 14px;
    font-weight: 400;
    width: 5rem;
    height: 30px;
    text-decoration: none !important;
    padding: 5px 5px 5px 5px;
    margin-right: 10px;
    text-align: center;
    min-width: 7rem;
}
    .btn-talk:hover {
        background-color: #eee059;
    }

.btn-logout {
    border: none;
    border-radius: 8px;
    background-color: #e0e0e0;
    font-size: 14px;
    font-weight: 400;
    width: 5rem;
    height: 30px;
    min-width: 7rem;
}
    .btn-logout:hover {
        background-color: #bfbfbf;
    }

.btn-request:hover {
    background-color: #cbb40c;
}


.btn-item-gen {
    border: none;
    border-radius: 8px;
    background-color: #FEE500;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: #010101;
    min-width: 7rem;
}

    .btn-item-gen:hover {
        background-color: #cbb40c;
    }

.btn-item-remove {
    border: none;
    border-radius: 8px;
    background-color: #f4b26f;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: #010101;
    min-width: 7rem;
}

    .btn-item-remove:hover {
        background-color: #caa213;
    }


.btn-dealer-gen {
    border: none;
    border-radius: 8px;
    background-color: #138e70;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: white;
    min-width: 7rem;
}

    .btn-dealer-gen:hover {
        background-color: #246c96;
    }

.btn-dealer-remove {
    border: none;
    border-radius: 8px;
    background-color: #a74ef1;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: white;
    min-width: 7rem;
}

    .btn-dealer-remove:hover {
        background-color: #9c2bf5;
    }


.btn-member-gen {
    border: none;
    border-radius: 8px;
    background-color: #4e74c7;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: white;
    min-width: 7rem;
}
    .btn-member-gen:hover {
        background-color: #1861ac;
    }

.btn-member-remove {
    border: none;
    border-radius: 8px;
    background-color: #c42222;
    font-size: 14px;
    font-weight: 400;
    width: 20%;
    height: 30px;
    color: white;
    min-width: 7rem;
}

    .btn-member-remove:hover {
        background-color: #792020;
    }

.btn-member-update {
    border: none;
    border-radius: 8px;
    background-color: #26a59f;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    height: 22px;
    color: white;
    min-width: 7rem;
}
    .btn-member-update:hover {
        background-color: #2e7383;
    }


.member-table thead {
    text-align: center;
    background-color: beige;
}

.member-table {
    text-align: center;
    border-collapse: collapse;
    font-size: 14px;  
}

    .member-table td, .member-table th {
        border: 1px solid #ddd; /* ¾ãÀº È¸»ö */
        padding: 4px;
    }
       

.dealer-table td:nth-child(3) {
    padding-left: 10px;
}


.dealer-table {
    border-collapse: collapse;
    font-size: 14px;
}

    .dealer-table thead {
        text-align: center;
        background-color: beige;
    
    }
   
.dealer-table td, .dealer-table th {
    border: 1px solid #ddd; /* ¾ãÀº È¸»ö */
    padding: 4px;
}

    .dealer-table td:first-child,
    .dealer-table td:nth-child(2) {
        width: 25px; /* 1, 2 ¹øÂ° Ä­ Æø 10px */
        min-width: 25px;
        max-width: 25px;
        text-align: center;
    }
    .dealer-table td:nth-child(3) {
        padding-left: 10px;
    }

.table-dealer{

    font-weight: 600;
    color: #1c29c0;

}


.login_page {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: center;
    background-color: white;
}

.login_form {
    background: white;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    border: 2px solid;
    border-radius: 20px;
    width: 400px;
    height: 450px;
}
@media (max-width: 600px) {
    .login_form {
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        transform: none;
        border: none;
        border-radius: 0;
        position: fixed;
        padding: 16px;
        box-sizing: border-box;
        /* flex·Î ³»¿ë ¿ÏÀü Áß¾Ó Á¤·Ä */
        display: flex;
        flex-direction: column;
        justify-content: center; /* ¼öÁ÷ Áß¾ÓÁ¤·Ä */
        
        
    }
}

.input-auth-wrap {
    display: flex;
    align-items: center;
    gap: 8px; /* input°ú ¹öÆ° »çÀÌÀÇ °£°Ý (¿øÇÏ´Â´ë·Î Á¶Àý) */
    width: 100%; /* ÀüÃ¼ ÄÁÅ×ÀÌ³Ê ³Êºñ (¿øÇÏ´Â´ë·Î Á¶Àý) */
}


.btn_auth {
    height: 32px; /* input°ú ³ôÀÌ¸¦ ¸ÂÃß¼¼¿ä */
    padding: 0 8px;
    background: #3182f6;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
}
    .btn_auth:disabled {
        background-color: #ccc; /* ºñÈ°¼º »óÅÂ ¹è°æ»ö */
        color: #888888; /* ºñÈ°¼º »óÅÂ ±Û¾¾»ö */
        border-color: #aaaaaa; /* ¿øÇÏ´Â Å×µÎ¸®»ö */
        cursor: not-allowed; /* ±ÝÁö ¸¶¿ì½ºÄ¿¼­ */
        opacity: 0.7; /* Èå¸®°Ô ÇÏ°í ½ÍÀ¸¸é */
    }

.login_sign_form {
    background: white;
    padding: 40px;
    margin: 0 auto;
    border: 2px solid;
    border-radius: 20px;
    width: 400px;
    margin-top: 50px;
   
}
@media (max-width:600px) {
    .login_sign_form {
        width: 100vw;
        min-height: 100vh;
        left: 0;
        top: 0;
        transform: none;
        border: none;
        border-radius: 0;
        position: fixed;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /* Áß¾ÓÁ¤·Ä ´ë½Å À§¿¡¼­ºÎÅÍ Á¤·Ä! */
        justify-content: flex-start;
        overflow-y: auto;
        max-height: 100vh;
        margin-top: 0px;
    }
}
.terms{
    
    display:flex;
    font-size : 0.8rem;    
    line-height: 1.5rem;
}

.term_input{
    vertical-align: middle;
    margin-right:0.5rem;
}

.month-req {
    font-weight: 600;
}

.month-confirm {
    font-weight: 600;
}

.month-total{

    font-weight: 600;
    font-size: 1.2rem;
    color: #6389eb

}
    .month-total{}

    .month-pretotal {
        font-weight: 600;
        font-size: 1.2rem;
        color: #d553b4
    }

.calendar {
    width: 100%;
    border: 1px solid #3cf372;
    border-radius: 1rem;
    padding: 1rem;
    font-family: sans-serif;
}


.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* ³ë¶õ µ¿±×¶ó¹Ì ¾È¿¡ ÁÂ¿ì È­»ìÇ¥ */
.circle-arrow {
    width: 38px;
    height: 38px;
    border: none;
    background: #ffe668;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
    position: relative;
}

    .circle-arrow:hover {
        background: #ffd102;
    }

    .circle-arrow::before {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        border: solid #5c4600;
        border-width: 0 4px 4px 0;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 11px;
        left: 11px;
        background: none;
    }

    /* ¿ÞÂÊ: ¢Ø ¸ð¾çÀ» È¸ÀüÇØ¼­ ¡ç Ã³·³ º¸ÀÌ°Ô */
    .circle-arrow.left::before {
        transform: rotate(135deg);
    }

    /* ¿À¸¥ÂÊ: ¢Ù ¸ð¾çÀ» È¸ÀüÇØ¼­ ¡æ Ã³·³ º¸ÀÌ°Ô */
    .circle-arrow.right::before {
        transform: rotate(-45deg);
    }

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-day-name {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.calendar-day-box {
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    min-height: 60px;
    height: 60px;
    text-align: left;
    padding: 3px 4px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    background: #fff;
}

    .calendar-day-box.today {
        background: #ffe668;
    }

    .calendar-day-box.empty {
        background: #f6f6f6;
        border: none;
        cursor: default;
    }

.day-label {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 2px;
}

.payment-amount {
    margin-top: auto;
    font-size: 0.9em;
    color: #0984e3;
}

.payment-input {
    width: 90%;
    font-size: 0.95em;
    margin-top: 4px;
}

.payment_tb {
    font-size: 0.8rem;
   
}

.payment_url {
    max-width: 160px;
    font-size:10px;
    color: #006bb3
}

.payment_date {
    max-width: 60px;
    min-width: 60px;
    font-size: 0.8rem;
}



.btn_smshitory {
    height: 28px; /* input°ú ³ôÀÌ¸¦ ¸ÂÃß¼¼¿ä */
    padding: 0 8px;
    background: #3182f6;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;   
    white-space: nowrap;
    font-size:0.8rem;
}

.btn_smshitory:hover {
    background-color: #006bb3;   
}
.btn_smshitory:disabled {
    opacity: 0.5; /* ¹ÝÅõ¸íÇÏ°Ô */
    cursor: not-allowed; /* ±ÝÁö Ä¿¼­ Ç¥½Ã(¼±ÅÃ »çÇ×) */
    background: #cccccc; /* ¹è°æ»ö(¼±ÅÃ »çÇ×) */
    color: #666666; /* ±Û¾¾ »ö(¼±ÅÃ »çÇ×) */
}


.sms-tid-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5); /* ¹ÝÅõ¸í ¹é±×¶ó¿îµå */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* ´Ù¸¥ ¿ä¼Ò À§¿¡ ³ª¿Àµµ·Ï */
}

.sms-tid-popup-content {
    background: white;
    border-radius: 16px;
    padding: 40px 60px;   
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

.pagination{

   
    align-items:center;    
    width: 100%;   
    justify-content: center;
    gap: 10px;

}

.btn-prev {

    border-radius: 50%;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #fff;
    color: #e7a939
}

.btn-next {
    border-radius: 50%;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #fff;
    color: #0f9834
}
.card-history {
    margin: 5px 0;   
}
.btn-show-cardhitory {
    display: inline-block; /* ¶Ç´Â block */
    width: 100%;
    text-align: center; /* ÅØ½ºÆ® °¡¿îµ¥ Á¤·Ä */
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #fff;
    color: white;
    text-decoration: none;
    background-color: #cca612;
}