
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

.l-body {
    background: url(../../images/background/kee.png);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;

}

small {
    font-size: 80%;
}


sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}


[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

.u-align-left {
    text-align: left !important;
}

.u-align-center {
    text-align: center !important;
}

.u-align-right {
    text-align: right !important;
}

@media screen and (max-width: 576px) {
    .u-xs-hide {
        display: none !important;
    }
}

@media screen and (max-width: 576px) {
    .u-xs-show {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .u-sm-hide {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .u-sm-show {
        display: block !important;
    }
}

@media screen and (max-width: 992px) {
    .u-md-hide {
        display: none !important;
    }
}

@media screen and (max-width: 992px) {
    .u-md-show {
        display: block !important;
    }
}

@media screen and (max-width: 1250px) {
    .u-lg-hide {
        display: none !important;
    }
}

@media screen and (max-width: 1200px) {
    .u-lg-show {
        display: block !important;
    }
}


@media screen and (max-width: 1450px) {
    .u-xxl-hide{
        display: none;
    }
  }

.u-sm-text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.u-md-colo-white {
    color: white;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "Noto Sans TC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    width: 100%;
    height: 100%;
    min-height: 700px;
}

h1 {
    color: #136bb5;
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
}


.l-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    -webkit-transition: 1s;
    transition: 1s;
}

.is-blur .l-backdrop {
    opacity: 1;
}

.l-login-form {
    /* position: absolute;
    top: 50%; */
    width: 400px;
    padding: 20px 0;
    margin: auto;
    /* margin-left: 10%; */
    border-radius: 15px;
    /* -webkit-transform: translateY(-50%);
    transform: translateY(-50%); */
    text-align: center;
}

@media screen and (max-width: 1250px) {
    /* .l-login-section{
        background-color: #e1efff82;
        padding: 0px 30px;
        border-radius: 20px;
    } */
    .l-login-form {
        width: 100%;
        /* min-width: 320px; */
        background: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        right: 0;
        left: 0;
    }
}

.o-form-group {
    position: relative;
    margin-bottom: 15px;
}

.o-form-group__input {
    position: relative;
}

.o-form-group__hint {
    font-size: 12px;
    text-align: right;
    margin-top: 5px;
    color: #970000;
}

.o-form-control {
    width: 100%;
    height: 50px;
    border: none;
    padding: 5px 7px 5px 40px;
    background: none;
    color: #666;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
}

    .o-form-control::-webkit-input-placeholder {
        color: rgba(0, 0, 0, 0.3);
    }

    .o-form-control:-ms-input-placeholder {
        color: rgba(0, 0, 0, 0.3);
    }

    .o-form-control::-ms-input-placeholder {
        color: rgba(0, 0, 0, 0.3);
    }

    .o-form-control::placeholder {
        color: rgba(0, 0, 0, 0.3);
    }

    .o-form-control:focus,
    .o-form-control:focus + .o-form-control__icon {
        border-color: #479cd2;
        color: #479cd2;
        outline: -webkit-focus-ring-color auto 0px;
    }

.o-form-control__icon {
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    margin-top: 2px;
    color: #999;
}

@media screen and (max-width: 576px) {
    .o-form-control {
        height: 40px;
        border-radius: 40px;
    }
}

.o-btn {
    display: inline-block;
    width: 100%;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 500;
    background: linear-gradient(135deg, #3f4ce8, #743ac6);
    background-size: 100% 300%;
    background-position: 0 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

    .o-btn:hover {
        background-position: 0 100%;
    }

@media screen and (max-width: 576px) {
    .o-btn {
        height: 40px;
        line-height: 40px;
        border-radius: 40px;
    }
}

.o-btn--no-gradient {
    background: #faa81f;
}

    .o-btn--no-gradient:hover {
        background: #e18f05;
    }

.o-link {
    display: inline-block;
    text-decoration: none;
    color: #c6c6c6;
    font-size: 12px;
    margin-bottom: 15px;
    text-decoration: underline;
}

    .o-link:hover {
        color: #8c918f;
    }

.o-sec {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

    .o-sec:first-child {
        padding-top: 0;
    }

    .o-sec:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.o-sec__title {
    margin-bottom: 16px;
    opacity: 0.8;
    font-size: 1.2rem;
    font-weight: normal;
    color:gray;
}

@media screen and (max-width: 576px) {
    .o-sec__title {
        font-size: 1.1rem;
    }
}

/* .split {
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
} */

.left {
    width: 55%;
    left: 0;

}

.right {
    width: 45%;
    right: 0;
}

.dntCaptcha input::placeholder {
    color: rgb(198, 198, 198);
    opacity: 1; /* Firefox */
  }


.o-loading {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    font-weight: bold
}

.o-loading--center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.o-loading--left {
    left: 0;
    top: 50%;
    transform: translate(0, -50%)
}

.o-loading--right {
    right: 0;
    top: 50%;
    transform: translate(0, -50%)
}

.o-loading__parent {
    position: relative;
    overflow: hidden !important
}

.o-loading__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.75);
    z-index: 999
}

.o-loading__spinner {
    display: flex;
    align-items: center;
    border-radius: 50px;
    background-color: rgba(234,242,242,.8);
    padding: .5rem;
    box-shadow: 1px 1px 10px rgba(0,0,0,.1),0 0 1px rgba(0,0,0,.2);
    height: 3rem
}

    .o-loading__spinner .spinner-border {
        flex-shrink: 0
    }

.o-loading__text {
    flex-shrink: 0
}

        .l-login-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 900px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 600px;
            overflow: hidden;
            animation: slideIn 0.8s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .l-login-section {
            padding: 10px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: rgba(255, 255, 255, 60%);
        }

        .announcement-section {
            padding: 20px;
            background: rgb(255 255 255 / 40%);
            display: flex;
            flex-direction: column;
        }

        .logo {
            text-align: center;
            margin-bottom: 20px;
        }

        .logo h3 {
            color: rgb(61, 61, 61);
        }

        .login-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-group input {
            width: 100%;
            padding: 15px 20px;
            background: rgb(255 255 255 / 46%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: #575757;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            background: rgb(64 83 255 / 60%);
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .form-group input::placeholder {
            color: rgba(95, 95, 95, 0.653);
        }

        .form-group input:focus::placeholder {
            color: rgba(255, 255, 255, 0.653);
        }

        .login-btn {
            padding: 15px;
            background: linear-gradient(45deg, #f55b59, #ff8100);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        
        .login-btn-sm {
            padding: 15px;
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-btn-sm:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
        }

        .login-btn-sm:active {
            transform: translateY(0);
        }

        .announcement-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;
        }

        .announcement-header h2 {
            color: #3d3d3d;
            font-size: 1.8rem;
            font-weight: 500;
        }

        .bell-icon {
            width: 28px;
            height: 28px;
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: ring 2s infinite;
        }

        @keyframes ring {
            0%, 50%, 100% { transform: rotate(0deg); }
            10%, 30% { transform: rotate(-10deg); }
            20%, 40% { transform: rotate(10deg); }
        }

        .bell-icon::before {
            content: '🔔';
            font-size: 14px;
        }

        .announcements {
            display: flex;
            flex-direction: column;
            gap: 15px;
            flex-grow: 1;
            max-height: 600px;
            overflow-y: auto;
            padding-right: 10px;
        }
        .announcements::-webkit-scrollbar {
            width: 6px;
        }

        .announcements::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .announcements::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 10px;
        }

        .announcements::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }
        .announcement-item {
            background: rgb(255 255 255 / 60%);
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .announcement-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(5px);
        }

        .announcement-item.important {
            border-left-color: #ff6b6b;
        }

        .announcement-item.info {
            border-left-color: #54a0ff;
        }

        .announcement-item.success {
            border-left-color: #5f27cd;
        }

        .announcement-title {
            color: rgb(45, 45, 45);
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .announcement-content {
            color: rgba(45, 45, 45, 0.8);
            font-size: 14px;
            line-height: 1.6;
        }

        .announcement-date {
            color: rgba(45, 45, 45, 0.5);
            font-size: 12px;
            margin-top: 8px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }

        .status-dot.red { background: #ff6b6b; }
        .status-dot.blue { background: #54a0ff; }
        .status-dot.purple { background: #5f27cd; }

        @media (max-width: 768px) {
            .l-login-container {
                grid-template-columns: 1fr;
                max-width: 500px;
            }
            
            .l-login-section, .announcement-section {
                padding: 20px;
            }
            
            .logo h1 {
                font-size: 2rem;
            }
        }

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            color:#3d3d3d;
        }

        .remember-me input[type="checkbox"] {
            accent-color: #ff6b6b;
        }

        .forgot-password {
            color:#3d3d3d;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: white;
        }

        /*!
         * CSP unsafe-inline 移除 - Phase 1
         * Login.cshtml 沒有載入 account-style.css，所以這三個 class 跟
         * wwwroot/account/css/account-style.scss 裡的定義重複一份放在這，
         * 避免直接把 account-style.css 整包引入 Login 頁造成既有 reset 樣式跑掉
         */
        .account-input-icon-btn--right {
            position: absolute;
            top: 50%;
            right: 8px;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #888;
            padding: 0;
        }

        .account-input-icon--left {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 10px;
            color: #888;
            z-index: 1;
        }

        .account-input--with-icons {
            padding-left: 32px;
            padding-right: 42px;
        }

        /*!
         * 暫時性 —— CSP unsafe-inline 移除工作的產物，Phase 2/3 要重新整理
         * 使用端點：Areas/Identity/Pages/Account/Login.cshtml
         */
        .tmp-login-01 {
            width: 200px;
        }

        .tmp-login-02 {
            position: relative;
        }

        /* login.css 是獨立載入的 bundle，沒有引用 map 域的 style.css，
         * 所以這裡自己留一份 .u-cursor-pointer（跟 map/mobilemap 域的同名 class 不算真正重複，
         * 三邊從不會同時載入） */
        .u-cursor-pointer {
            cursor: pointer;
        }

        .tmp-login-04 {
            display: flex;
        }

        .tmp-login-05 {
            width: 50%;
            background: coral;
        }

        .tmp-login-06 {
            white-space: nowrap;
            text-align: right;
        }