﻿body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(-45deg, #ff00ff, #800080, #00ffff, #00bfff, #ff00ff);
    background-size: 400% 400%;
    animation: aurora 10s ease infinite;
    overflow: hidden;
}
input[type=password]::-ms-reveal {
    display: none;
}

input[type=password]::-ms-clear {
    display: none;
}
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.PanelCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.Login_Pl {
    width: 600px;
    background-color: #D8EBFA;
    border: 3px solid #197DC9;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 0px black;
    height: 520px;
    padding:40px 20px;
}

        .PanelCenter > div > div {
            display: flex;
            justify-content: center;
        }

    .PanelCenter hr {
        border: 2px solid #197DC9;
        margin: 10px 20px;
    }

    .PanelCenter h2 {
        margin: 4vh auto 0 auto;
        text-align: center;
        color: #197DC9;
        font-size: 2em;
        font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    }



.PanelCenter label {
    color: #880015;
    font-size: 1em;
    font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
    display: block; /* 讓它占滿一行 */
    height: 24px; /* 固定高度，可依字型大小微調 */
    margin: 5px 0;
}

 

.PanelCenter input[type="text"], input[type="password"] {
    width: 200px;
    border: 2px solid #197DC9;
    margin: 15px;
    font-size: 1.5em;
    border-radius: 10px;
    padding: 5px 10px;
    outline: none; /* 移除預設黑色外框 */
    transition: all 0.2s ease; /* 平滑過渡 */
}
        .PanelCenter input[type="text"]:focus,
        .PanelCenter input[type="password"]:focus {
            border-color: #005A9E; /* 聚焦時變深藍 */
            box-shadow: 0 0 6px rgba(25, 125, 201, 0.5); /* 添加柔和藍色陰影 */
            outline: none; /* 確保不出現黑邊 */
        }

.PanelCenter input::placeholder {
    user-select: none;
    color: #197DC9;
    font-family: Arial, sans-serif;
    opacity: 0.6;
}
.PanelCenter input:focus::placeholder {
    color: transparent; /* 聚焦時隱藏 placeholder */
}

.PanelCenter button[type="submit"] {
    width: 60%;
    padding: 15px;
    background-color: #197DC9;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(25, 125, 201, 0.3);
    outline: none;
}
    /* 滑鼠移上時 */
    .PanelCenter button[type="submit"]:hover {
        background: linear-gradient(135deg, #1C8CE6, #0E4C8A); /* 顏色變亮，動態感 */
        transform: translateY(-2px); /* 微微上浮 */
        box-shadow: 0 6px 14px rgba(25, 125, 201, 0.5);
    }

    /* 點擊時 */
    .PanelCenter button[type="submit"]:active {
        transform: translateY(0px); /* 回到原位 */
        box-shadow: 0 3px 8px rgba(25, 125, 201, 0.3);
        background: linear-gradient(135deg, #166FB2, #0C3D73);
    }

    /* 讓文字選不到*/
    .PanelCenter button[type="submit"]::selection {
        background: transparent;
    }


.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 123px;
    height: 123px;
    border-radius: 50%;
    background-color: #D8EBFA;
    border: 3px solid #197DC9;
    position: relative;
}

.circle1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D8EBFA;
    border: 0px solid #197DC9;
    padding-top: 17px
}

.head-circle {
    width: 32%;
    height: 32%;
    border-radius: 50%;
    background-color: #197DC9;
    border: 2px solid #197DC9;
    transition: transform 0.3s ease-in-out;
    transform-origin: center bottom; /* 旋轉中心在底部 */
    perspective: 200px; /* 讓 rotateX 有透視效果 */
}
.circle:hover .head-circle {
    animation: nod 0.6s ease-in-out;
}
@keyframes nod {
    0% {        transform: rotateX(0deg);    }
    25% {        transform: rotateX(20deg);    }
    50% {        transform: rotateX(5deg);    }
    75% {        transform: rotateX(30deg);    }
    100% {        transform: rotateX(0deg);    }
}
.half-circle {
    width: 66%;
    height: 33%;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 2px solid #197DC9;
    background-color: #197DC9;
    margin-top: -20%;
}

.lock {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #D8EBFA;
    border: 0px solid #197DC9;
    padding-top: 17px
}

.lock-ring {
    width: 12px;
    height: 14px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #D8EBFA;
    border: 3px solid #197DC9;
}

.lock-square {
    width: 22px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #197DC9;
    background-color: #197DC9;
    margin-top: -20%;
}

/*.square {
    width: 100px;
    height: 100px;
    border: 6px solid red;
    border-radius: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

/*.crossesmark {
    width: 55px;
    height: 50px;
    display: inline-block;
    position: relative;
}*/

   /* .crossesmark::before, .crossesmark::after {
        content: '';
        position: absolute;
        background-color: red;
        border-radius: 3px;
    }*/

  /*  .crossesmark::before {
        width: 6px;
        height: 6px;
        left: 0px;
        top: 0px;
        transform: rotate(-45deg);
        transform-origin: top;
        animation: crossesmark 0.2s ease-out forwards;
    }*/

   /* .crossesmark::after {
        width: 6px;
        height: 0px;
        left: 50px;
        top: 0px;
        transform: rotate(45deg);
        transform-origin: top;
        animation: crossesmark 0.2s ease-out forwards 0.2s;
    }*/

/*@keyframes crossesmark {
    0% {
        height: 0;
    }

    100% {
        height: 70px;
    }
}*/
/*
@media screen and (max-width: 1024px) {
}*/

/*.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-sizing: border-box;
}*/
.input-group{
    position:relative;
}
