/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #0d2538;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   PAGE LAYOUT
========================= */
.page {
    flex: 1;
    display: flex;
    background: linear-gradient(
        135deg,
        #0d2538 0%,
        #0d2538 70%,
        #0abf524b 100%
    );
}

/* =========================
   PANELS
========================= */
.panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

/* =========================
   LEFT PANEL (IMAGE + BLEND)
========================= */
.panel-left {
    position: relative;
    overflow: hidden;
    background: url("../images/index1.jpg") center / cover no-repeat;
}

/* DARK OVERLAY (IMAGE READABILITY) */
.panel-left .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 37, 56, 0.55),
        rgba(13, 37, 56, 0.664)
    );
    z-index: 1;
}

/* FEATHERED RIGHT EDGE BLEND */
.panel-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;

    background: linear-gradient(
        to right,
        rgba(13,37,56,0.0) 0%,
        rgba(13, 37, 56, 0.466) 30%,
        rgba(13, 37, 56, 0.788) 60%,
        rgba(13,37,56,0.95) 85%,
        rgba(13,37,56,1) 100%
    );

    pointer-events: none;
    z-index: 2;
}

/* CONTENT */
.system-info {
    position: relative;
    max-width: 520px;
    color: #ffffff;
    z-index: 3;
}

.brand {
    margin-bottom: 28px;
}

.brand .badge {
    display: inline-block;
    background: #fbdd94;
    color: #0d2538;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.brand h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand .subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 50px;
    color: rgba(255,255,255,0.85);
}

.description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.92);
}

/* DATE TIME */
.datetime {
    display: flex;
    border-top: 3px solid #fbdd94;
    border-radius: 18px;
    background: #ffffff1f;
    justify-content: space-between;
    font-size: 18px;
    color: #fbdd94;
    font-weight: 600;
    padding: 14px 10px;
    
}

/* =========================
   RIGHT PANEL (CONTINUOUS TONE)
========================= */
.panel-right {
    background: linear-gradient(
        135deg,
        rgba(13,37,56,0.95) 0%,
        rgba(13,37,56,0.85) 55%,
        rgba(10,191,83,0.30) 100%
    );
}

/* =========================
   LOGIN CARD
========================= */
.login-card {
    width: 390px;
    background: #ffffff1c;
    padding: 46px 36px;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
    border-top: 6px solid #0abf53;
}

/* TITLES */
.login-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 35px;
    color: #fbdd94;
    font-weight: 600;
}


/* =========================
   INPUTS
========================= */
.input-group {
    margin-bottom: 30px;
}

.input-group.floating {
    position: relative;
    margin-top: 24px;
}

/* Input */
.input-group.floating input {
    width: 100%;
    padding: 14px 4px;
    border: none;
    background: transparent;

    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    border-radius: 10px;
    border-bottom: 2px solid #cbd5e1;
    transition: border-color 0.25s ease;
}

/* Focus underline */
.input-group.floating input:focus {
    outline: none;
   border-bottom: 2px solid #0abf53;
    
}

/* Label acts as placeholder */
.input-group.floating label {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 15px;
    font-weight: 500;
    color: #ffffffc5;

    pointer-events: none;
    transition: all 0.25s ease;
}

/* Float label on focus OR value */
.input-group.floating input:focus + label,
.input-group.floating input:not(:placeholder-shown) + label {
    top: -8px;
     font-size: 12px;
    font-weight: 500;
    color: #14ce5f;
}

/* Hide default placeholder */
.input-group.floating input::placeholder {
    opacity: 0;
}

/* Eye icon */
.toggle-password {
    color: #ffffff;
}

/* PASSWORD ICON */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffffffc5;
}

/* BUTTON */
.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #0abf53, #089e45);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(10,191,83,0.45);
}

.login-btn:hover {
  
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10,191,83,0.6);
}

.btn-holder{
  display: flex;
  flex-direction: row;
  margin-top: 40px;
  gap:20px;
}

/* Remove Chrome autofill white background */
/* MUST match your input background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0d253807 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff0a;
    transition: background-color 9999s ease-in-out 0s;
}
:root {
    color-scheme: dark;
}
