html,
body {
    height: 100%;
}

body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    max-width: 630px;
    padding: 25px;
    margin: auto;
    text-align: center !important;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

input {
    outline: none;
}

input[name="login"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 更改 "登入" 文字的顏色 */
.h3.mb-3.font-weight-normal {
    color: #ffffff; /* 將顏色改為紅色，您可以根據需要更改顏色代碼 */
}

/* 更改 "請輸入遊戲帳號" 文字的顏色 */
.mb-3.font-weight-normal {
    color: #ffffff; /* 將顏色改為綠色，您可以根據需要更改顏色代碼 */
}

/* 背景影片的樣式 */
.video-bg-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 視窗高度 */
    z-index: -1; /* 確保影片不會覆蓋頁面內容 */
}

.video-bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 讓影片完全覆蓋背景，並不會失真 */
}

.badge {
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}