@charset "UTF-8";

/* ============================= */
/* Reset */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* ============================= */
/* Background */
/* ============================= */

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg,
        #0d3b66,
        #145da0,
        #1f6fb2
    );
    overflow: hidden;
}

/* ============================= */
/* Abstract Shapes */
/* ============================= */

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.05)
    );
    filter: blur(20px);
}

/* Shape Positions */

.shape1 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -80px;
}

.shape2 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    right: -60px;
}

.shape3 {
    width: 180px;
    height: 180px;
    top: 60%;
    left: 10%;
}

/* ============================= */
/* Outer Panel */
/* ============================= */

.outer-panel {
    width: 370px;
    height: 550px;
    border-radius: 25px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ============================= */
/* Login Card */
/* ============================= */

.login-card {
    width: 320px;
    padding: 35px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: solid #787149;
}

/* ============================= */
/* Logo */
/* ============================= */

.logo {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

/* ============================= */
/* Input Groups */
/* ============================= */

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 12px;
    color: white;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-top: 5px;
    background: rgba(255,255,255,0.85);
}

/* ============================= */
/* Forgot Password */
/* ============================= */

.forgot {
    font-size: 12px;
    color: lightblue;
    display: inline-block;
    text-decoration: underline;
    float: right;
}

/* ============================= */
/* Primary Button */
/* ============================= */

.login-btn {
    width: 50%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    margin-top: 15px;
    background: #0b3c6d;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.login-btn:hover {
    background: #072c50;
}

/* ============================= */
/* Custom Corporate Button */
/* ============================= */

.myButton {
    box-shadow: 2px 2px 0px 0px #c5c8d1;
    background: linear-gradient(
        to bottom,
        #016db0 5%,
        #0e2b4d 100%
    );
    background-color: #016db0;
    border-radius: 8px;
    border: 1px solid #4e6096;
    display: inline-block;
    cursor: pointer;
    color: #ffffff !important;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 28px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #283966;
}

.myButton:hover {
    background: linear-gradient(
        to bottom,
        #0e2b4d 5%,
        #016db0 100%
    );
    background-color: #03128a;
}

.myButton:active {
    position: relative;
    top: 1px;
}


footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

footer a {
  color: #a78937 !important;
  text-decoration: underline;
}

footer a:visited {
  color: rgb(193 193 193 / 50%) !important;
  text-decoration: underline;
}

footer a:hover {
  color: #3880cf !important;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#msg {
  width: 370px;
  font-size: 13px;
  font-weight: 600;
  color: #bb1616;
  background: #e1b8b8;
  border: 1px solid rgba(187, 22, 22, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: left;
  display: none;
}

#msg.show {
  display: block;
}


#errorPopup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
#errorPopup.show { display: flex; }

#errorPopupBox {
  background: white;
  border-radius: 14px;
  padding: 32px 36px;
  text-align: center;
  width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-top: 4px solid #bb1616;
}

#errorPopupIcon {
  width: 46px; height: 46px;
  background: rgba(187, 22, 22, 0.1);
  color: #bb1616;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin: 0 auto 14px;
}

#errorPopupMsg {
  font-size: 14px;
  color: #1a2d42;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

#errorPopupBox button {
  background: linear-gradient(135deg, #1f5d99, #0d4c86);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#errorPopupBox button:hover { opacity: 0.9; }