﻿@charset "utf-8";
/*@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=chinese-traditional&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*以下為style取過來用*/
/* COLORS */
.text-success {
    color: #1c84c6;
}
ol {
    margin-left: 20px;
    padding-left: 20px;
}
li {
    margin-bottom: 8px;
}
/* MODAL */
.modal .control-label {
    text-align: right;
}
.modal-content {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    outline: 0 none;
    position: relative;
}
.modal-dialog {
    z-index: 2200;
}
.modal-body {
    padding: 20px 30px 30px 30px;
}
.inmodal .modal-body {
    background: #f8fafb;
}
.inmodal .modal-header {
    padding: 10px 10px;
    text-align: center;
}
.form-control, .single-line {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}
.modal-body .row .form-group div {
    padding-bottom: 1rem;
}
.btn-success {
    background-color: #1c84c6;
    border-color: #1c84c6;
    color: #FFFFFF;
}
.m-t {
    margin-top: 15px;
    text-align: center;
}
/*以上為style取過來用*/

*,
::after,
::before {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'Noto Sans TC', '微軟正黑體', 'Microsoft JhengHei', 'Apple LiGothic Medium', sans-serif, 'FontAwesome';
    align-items: center;
    justify-content: center;
}

.bodyBg {
    background-image: url(../images/LoginBg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    max-width: 100%;
    width: 100%;
    position: relative;  
    
}

.bodyBg::before {
    content: "";
    position: absolute;
    max-width: 100%;
    width: 100%;
    height:410px;
    background-image: url(../images/btBg.png);
    display: block;
    left: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.bodyBg::after {
    content: "";
    position: absolute;
    max-width: 600px;
    width: 100%;
    height: 500px;
    background-image: url(../images/Right_bg.png);
    display: block;
    right: 35px;
    bottom: 65px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;

}

.Wrap {
    height: 100%;
    width: 100%;
    max-width:100%; 
      overflow: hidden;
    display: block;
    /*height: calc(100vh - 140px);*/
    min-height: 100vh;
}

.Wrap::before {
    content: "";
    position: absolute;
    max-width: 420px;
    width: 100%;
    height: 480px;
    background-image: url(../images/Left_bg.png);
    display: block;
    left: 85px;
    bottom: 60px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;  
}


.Wrap::after {
    content: "";
    position: absolute;
    max-width: 180px;
    width: 100%;
    height: 180px;
    background-image: url(../images/btBg_ball.png);
    display: block;
    left: 280px;
    bottom:20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position:center;
    z-index: -1;
}
/* ---From ---*/
.mainLogin {
  width: 100%;
    display: block;
    position: relative;
    max-width: 100%;
    padding-top:90px;
    
}





/*---logo---*/
.live-topbar {
    background: #f4bda8;
   -webkit-box-shadow: rgba(0, 0, 0, .05) 0 5px 5px;
        box-shadow: rgba(0, 0, 0, .05) 0 5px 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0 0 0;
    position: relative;
    height: 100px;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    text-align: center;
    justify-content: center;
     
}


.topbar-logo {
    vertical-align: top;
    font-size: 0;
    display:block;
    width:320px;
    height:100vh;
    text-indent: -9999px;
    background-repeat: no-repeat;
    text-align: center;
    margin: auto;
    background-position: center;
    background-image: url(../images/tw_logo.svg);
    background-size: contain;
    transition: all 0.5s ease-in-out;
}



/*-----card----*/
.login-container {
    background:#fff;
    z-index: 2;
    padding: 30px;  
    width: 100%;
    max-width: 400px;
    position: relative;
       -webkit-box-shadow: rgba(0, 0, 0, .25) 0 5px 25px;
    box-shadow: rgba(0, 0, 0, .25) 0 5px 25px;
    margin: auto;
}


.title {
    color: #616af2;
    font-size: 32px;
    font-weight:700;
    text-align: center;
    margin-bottom:28px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 0px;
    font-size: 16px;
    color: #495057;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #74b9ff;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(116, 185, 255, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    width: 120px;
    height: 40px;
    background: linear-gradient(45deg, #535353, #222222);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.captcha-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.refresh-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 10px;
}

.refresh-btn {
    width: 35px;
    height: 35px;
    background: #e2e2e2;
    border:#c7c7c7 solid 1px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
   
}


.refresh-btn img {
    width: 25px;
    height: 25px;
    border: none;
}


.refresh-btn:hover {
    background: #0984e3;
    transform: scale(1.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #4d88ff, #616af2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.footer-links {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0984e3;
}

.separator {
    color: #adb5bd;
}

/* 動畫效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.6s ease-out;
}

/* 響應式設計 */
@media (max-width: 1368px) {
.mainLogin {
    padding-top: 40px;
        padding-bottom: 40px;
}


}

@media (max-width: 1180px) {

   

    .Wrap::before {
        content: "";
        position: absolute;
        max-width:400px;
        width: 100%;
        height: 350px;
        background-image: url(../images/Left_bg.png);
        display: block;
        left: 10px;
        bottom: 20px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
    }
   

    .Wrap::after {
        content: "";
        position: absolute;
        max-width: 180px;
        width: 100%;
        height: 80px;
        background-image: url(../images/btBg_ball.png);
        display: block;
        left: 75px;
        bottom: 30px;
    }

     .bodyBg::after {
              max-width: 400px;
        width: 400px;
        height:280px;
        bottom: 35px;
        right: 0px;
    }

    .Wrap::before {
        content: "";
        position: absolute;
        max-width: 350px;
        width: 100%;
        height: 280px;
        background-image: url(../images/Left_bg.png);
        display: block;
        left: 10px;
        bottom: 20px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
    }

    
.bodyBg::before {
  height: 320px;
background-position: 39% bottom;

}
}


@media (max-width: 844px) {
  
    .bodyBg::after {
        background-repeat: no-repeat;
        background-position: bottom;
        background-image: url(../images/sRight_bg.png);
        max-width: 370px;
        width: 370px;
        height: 180px;
        bottom: 35px;
        right: 0px;
    }

    .Wrap::before {
        content: "";
        position: absolute;
        max-width: 350px;
        width: 100%;
        height: 280px;
        background-image: url(../images/Left_bg.png);
        display: block;
        left: 10px;
        bottom: 20px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
    }
   
    .Wrap::before {
        content: "";
        position: absolute;
        max-width: 350px;
        width: 100%;
        height: 300px;
        background-image: url(../images/Left_bg.png);
        display: block;
        left: 4vw;
        bottom: 20px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
    }
 
       
}

@media (max-width: 768px) {
    .Wrap {
        padding-bottom: 160px;
    }

    .Wrap::after {
        display: none;
    }

    
}
  @media (max-width: 740px) {  
       
   .topbar-logo {

    width:280px;
    height:100vh;}

   }
@media (max-width: 480px) {
       .Wrap::before {
        display: none;
    }

.bodyBg::after {
        background-repeat: no-repeat;
        background-position: bottom;
        background-image: url(../images/sRight_bg.png);
        max-width: 90vw;
        width: 90vw;
        bottom: 35px;
        height: 100%;
        background-size: contain;
        right: 15px;
      } 


    .mainLogin {
            padding:30px 15px
        }
    
        .login-container {
            padding: 30px 20px;
            margin: 20px auto;
    
        }

    .title {
        font-size: 24px;
    }

    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-image {
        width: 100%;
        margin-bottom: 10px;
    }

    .refresh-buttons {
        flex-direction: row;
        justify-content: center;
        margin-left: 0;
    }
}