/* 背景圖層 */
.bg-cover {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('#.png'); /* BG_PNG  */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.bg-cover::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2); /* 淡遮罩 */
  z-index: -1;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans TC", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-wrapper {
  display: flex;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.login-left {
  background-color: rgba(40, 100, 255, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 40px;
  justify-content: center;
  width: 450px;
}

.login-left button {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px;
  margin: 10px 0;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.login-left button:hover {
  background: white;
  color: #286cff;
}

.login-box {
  background-color: white;
  padding: 10px 10px;
  width: 450px;
}

.login-right {
  background-color: white;
  padding: 10px 10px;
  width: 425px;
  margin-right: 4px;
}

.login-right label {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #333;
}
.login-right input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.checkbox {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tip-text {
  font-size: 0.85rem;
  color: #444;
  margin-top: 15px;
  line-height: 1.5;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

button.primary {
  background-color: #407bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}
button.secondary {
  background-color: white;
  color: #407bff;
  border: 2px solid #407bff;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

button.primary:hover {
  background-color: #286cff;
}
button.secondary:hover {
  background-color: #407bff;
  color: white;
}



.page
{
    background-image: url('/CIMME/Submission/image/Themes/Common/CIMME_bdy.png'); background-repeat: repeat-y; background-color: #f7f7f8;
    width: 960px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #4b6c9e;
    width: 100%;
}

.footer
{
    color: #4e5766;
    padding: 0px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
    width: 960px;
}

fieldset
{
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

.failureNotification
{
    font-size: 1.2em;
    color: Red;
}




@media only screen and (min-width: 0px) and (max-width: 490px) {
  .login-wrapper {
    flex-direction: column;
    align-items: center; 
    justify-content: center;
  }

  .login-right {
    background-color: white;
    padding: 10px 10px;
    width: 425px;
    margin-right: 4px;
    float:right;
  }

  .login-left {
    display: none;
  }
}
