@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;200;300;400;500;600;700;800;900&display=swap');

*:focus,
*:active {
    outline: none !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body {
    color: #333333;
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 22px;
    font-size: 14px;
}

.app {
    margin: auto;
    width: calc(100% - 30px);
    position: relative;
    max-width: 428px;
}

.app .bg-full {
    height: 100vh;
    background-image: url('../images/bg-60.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body.offcanvas-active {
    overflow: hidden;
}

.section-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    padding-top: 10px;
    max-width: 428px;
    z-index: 1;
    background-color: white;
}

.open-navbar {
    padding: 0 10px;
}

.open-navbar i {
    font-size: 24px;
}

.offcanvas-header {
    display: none;
}

.screen-darken {
    height: 100%;
    width: 0%;
    z-index: 30;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(34, 34, 34, 0.6);
    transition: opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
    z-index: 10;
    transition: opacity .3s ease, width 0s;
    opacity: 1;
    width: 100%;
    visibility: visible;
}

.offcanvas-header {
    display: block;
}

.mobile-offcanvas {
    visibility: hidden;
    transform: translateX(-100%);
    border-radius: 0;
    display: block;
    /* position: absolute; */
    position: fixed;
    top: 0;
    /* top: -48px;  */
    left: 0;
    height: 100%;
    z-index: 1200;
    width: 80%;
    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
}

.mobile-offcanvas.show {
    visibility: visible;
    transform: translateX(0);
}

.mobile-offcanvas .container,
.mobile-offcanvas .container-fluid {
    display: block;
}

.mobile-offcanvas .navbar-nav .nav-link {
    font-weight: 600;
    color: #444;
    padding: 12px 4px;
}

.header-title {
    text-align: center;
    margin-bottom: 0;
    margin-top: 2px;
    font-size: 18px;
}

.center-control {
    position: absolute;
    top: 30vh;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.login_head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_head img {
    width: 50%;
}

.login_head p {
    font-size: 15px;
    padding-top: 10px;
    font-weight: 800;
}

.footer-control {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
}

.footer-control .title {
    margin-bottom: 2px;
    font-weight: 900;
}

.footer-control .link {
    margin-bottom: 10px;
    color: #000000;
    text-decoration: underline;
}

/* .footer-control .company{ 
}  */

select {
    border: 1px solid #6c757d;
    width: 100%;
    padding: 4px 5px;
    font-weight: 600;
    color: #333333;
}

.input-rounded {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.btn-menu {
    background: #006dbb;
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
    text-align: center;
    border: none;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    color: white;
    font-size: 18px;
}

.btn-resend {
    padding: 8px 0;
    border-radius: 10px;
    text-align: center;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    color: white;
    width: 40%;
    float: right;
    background-color: #26a5ff;
    font-size: 16px;
    font-weight: 300;
}

.btn-menu1 {
    background: white;
    width: 100%;
    padding: 12px 0;
    border-radius: 15px;
    text-align: center;
    border: none;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    color: #006dbb;
    font-size: 18px;
}

.btn-menu:disabled {
    background: #f1f1f1;
    color: #9d9c9c;
}

#booking-datepicker {
    margin-top: 10px;
}

#booking-datepicker .ui-datepicker {
    width: 100%;
}

/* ===== LOGIN PAGE STYLES ===== */

.container-login {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 40px 20px 60px 20px;
    position: relative;
    z-index: 1;
}

.login-logo {
    flex-shrink: 0;
    padding-top: 30px;
}

.logo-wrapper {
    text-align: center;
}

.logo-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
    font-size: 16px;
    color: #ffffff;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.login-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.form-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.form-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-input:focus {
    border-color: #006dbb;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 109, 187, 0.3);
}

.form-input::placeholder {
    color: #999999;
}

.input-indicator {
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.form-input:focus ~ .input-indicator {
    background-color: #006dbb;
}

.form-error {
    display: block;
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 4px;
    min-height: 16px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.verification-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phone-display {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-change {
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-change:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.timer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 0 4px;
}

.timer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.btn-resend {
    background-color: rgba(38, 165, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    float: none;
}

.btn-resend:hover:not(:disabled) {
    background-color: rgba(38, 165, 255, 1);
    box-shadow: 0 2px 8px rgba(38, 165, 255, 0.3);
}

.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    padding: 14px 16px;
    margin-top: 8px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #006dbb 0%, #0056a1 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 109, 187, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 109, 187, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.btn-submit span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.support-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.support-link {
    display: inline-block;
    font-size: 13px;
    color: #26a5ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.support-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== MODAL STYLES ===== */

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.modal-header {
    border-bottom: none;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.modal-body {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.modal-body p {
    font-size: 16px;
    color: #333333;
    margin: 0;
    line-height: 1.5;
}

.modal-footer {
    border-top: 1px solid #f1f1f1;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
}

.modal-error .modal-header {
    background-color: rgba(255, 107, 107, 0.1);
}

.modal-success .modal-header {
    background-color: rgba(51, 194, 124, 0.1);
}

.error-icon,
.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.error-icon {
    background-color: #ffe0e0;
    color: #ff6b6b;
}

.success-icon {
    background-color: #d3f9d8;
    color: #33c27c;
}

.modal .btn-primary {
    background-color: #006dbb;
    border-color: #006dbb;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    min-width: 100px;
}

.modal .btn-primary:hover {
    background-color: #0056a1;
    border-color: #0056a1;
}

/* ===== LOADING STYLES ===== */

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 576px) {
    .app {
        width: 100%;
    }

    .container-login {
        padding: 30px 16px 50px 16px;
    }

    .logo-title {
        font-size: 28px;
    }

    .logo-subtitle {
        font-size: 14px;
    }

    .form-header h2 {
        font-size: 22px;
    }

    .form-input {
        font-size: 14px;
    }

    .btn-submit {
        font-size: 15px;
        padding: 12px 16px;
    }
}