@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

html,
body {
    height: 100dvh;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100dvh;
    width: 100%;
}
.material-symbols-outlined {
    font-size: 2em;
}
.panel {
    border: 1px solid rgba(0, 0, 0, 0.599);
    width: 100%;
    max-width: 400px;
    padding: 1.2em 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
    border-radius: 0.2em;
}
.panelgoogle {
    border: 1px solid rgba(0, 0, 0, 0.599);
    width: 100%;
    max-width: 400px;
    padding: 0.5em 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4em;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 1em;
    border-radius: 0.2em;
    border-radius: 10px;
    transition: all 0.3s ease;

    &:hover {
        background-color: #e2e2e2;
    }
}
.left-side,
.right-side {
    flex: 1;
}
.right-side {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 25em;
    position: relative;
    overflow: hidden;
}
.left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
}

.input-field {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.login-sub {
    color: #005effb9;
    font-weight: 600;
}
.header {
    width: 100%;
    max-width: 400px;
}
h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #00000095;
}
.logo img {
    width: 100px;
    height: 100px;
    object-fit: cover; /* ensures it doesn't stretch */
    border-radius: 50%; /* rounds the image into a circle */
    margin-bottom: 1em;
    display: none;
}

input {
    padding: 10px;
    font-size: 1rem;
    /* border-radius: 10px; */
    border: 0.5px solid #000000;
    border-top: none;
    border-left: none;
    border-right: none;
    &:focus {
        outline: none;
        background-color: rgb(247, 247, 247);
        border-bottom: #000000 solid 2px;
    }
}

button {
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    background-color: #005cff;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: 600;
    transition: all 0.3s ease;

    &:hover {
        background-color: #5a91ff;
    }
}

/* Construction Background */
.construction-background {
    background: linear-gradient(135deg, #17def7 0%, #1c317a 50%, #3f1e82 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* GLI Main Logo */
.gli-main-logo {
    max-width: 25em;
    object-fit: cover;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Construction Elements */
.construction-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Blueprint Grid */
.blueprint-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) {
    top: 25%;
    animation: gridFade 8s ease-in-out infinite;
}

.grid-line.horizontal:nth-child(2) {
    top: 50%;
    animation: gridFade 8s ease-in-out infinite 2s;
}

.grid-line.horizontal:nth-child(3) {
    top: 75%;
    animation: gridFade 8s ease-in-out infinite 4s;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.vertical:nth-child(4) {
    left: 25%;
    animation: gridFade 8s ease-in-out infinite 1s;
}

.grid-line.vertical:nth-child(5) {
    left: 50%;
    animation: gridFade 8s ease-in-out infinite 3s;
}

.grid-line.vertical:nth-child(6) {
    left: 75%;
    animation: gridFade 8s ease-in-out infinite 5s;
}

@keyframes gridFade {
    0%,
    100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Construction Equipment */
.construction-equipment {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.crane-equipment {
    position: absolute;
    bottom: 15%;
    right: 10%;
    animation: craneSway 12s ease-in-out infinite;
}

.crane-base {
    width: 15px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.crane-arm {
    width: 80px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -30px;
    left: -32px;
    transform-origin: left center;
    animation: armRotate 8s ease-in-out infinite;
}

.crane-cable {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: -70px;
    left: 20px;
    animation: cableMove 6s ease-in-out infinite;
}

@keyframes craneSway {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes armRotate {
    0%,
    100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

@keyframes cableMove {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(10px);
    }
}

.excavator-equipment {
    position: absolute;
    bottom: 20%;
    left: 15%;
    animation: excavatorMove 15s ease-in-out infinite;
}

.excavator-body {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.excavator-arm {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -15px;
    left: 10px;
    transform-origin: left center;
    animation: armDig 10s ease-in-out infinite;
}

@keyframes excavatorMove {
    0%,
    100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes armDig {
    0%,
    100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

.bulldozer-equipment {
    position: absolute;
    bottom: 25%;
    left: 60%;
    animation: bulldozerWork 18s ease-in-out infinite;
}

.bulldozer-body {
    width: 50px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.bulldozer-blade {
    width: 60px;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    bottom: 5px;
    left: -10px;
    border-radius: 2px;
    animation: bladePush 12s ease-in-out infinite;
}

@keyframes bulldozerWork {
    0%,
    100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-15px);
    }
}

@keyframes bladePush {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Hardware Tools */
.hardware-tools {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.tool-container {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: toolRotate 12s ease-in-out infinite;
}

.tool-container i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.tool-container:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.tool-container:nth-child(2) {
    top: 35%;
    right: 25%;
    animation-delay: 2s;
}

.tool-container:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
}

.tool-container:nth-child(4) {
    top: 60%;
    left: 10%;
    animation-delay: 6s;
}

.tool-container:nth-child(5) {
    bottom: 15%;
    right: 20%;
    animation-delay: 8s;
}

.tool-container:nth-child(6) {
    top: 25%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes toolRotate {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }
}

/* Construction Materials */
.construction-materials {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.material-pile {
    position: absolute;
    width: 30px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    animation: pileShake 6s ease-in-out infinite;
}

.material-pile.pile1 {
    bottom: 10%;
    left: 15%;
    animation-delay: 0s;
}

.material-pile.pile2 {
    bottom: 12%;
    right: 30%;
    animation-delay: 2s;
}

.material-pile.pile3 {
    bottom: 8%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes pileShake {
    0%,
    100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(3px);
    }
}

.steel-beam {
    position: absolute;
    width: 50px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    animation: beamFloat 10s ease-in-out infinite;
}

.steel-beam.beam1 {
    top: 20%;
    left: 40%;
    animation-delay: 0s;
}

.steel-beam.beam2 {
    top: 45%;
    right: 15%;
    animation-delay: 5s;
}

@keyframes beamFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Safety Equipment */
.safety-equipment {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.safety-barrier {
    position: absolute;
    width: 25px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    animation: barrierFlash 4s ease-in-out infinite;
}

.safety-barrier.barrier1 {
    bottom: 5%;
    left: 10%;
    animation-delay: 0s;
}

.safety-barrier.barrier2 {
    bottom: 5%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes barrierFlash {
    0%,
    100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

.safety-cone {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid rgba(255, 255, 255, 0.15);
    animation: coneGlow 5s ease-in-out infinite;
}

.safety-cone.cone1 {
    bottom: 3%;
    left: 30%;
    animation-delay: 0s;
}

.safety-cone.cone2 {
    bottom: 3%;
    right: 25%;
    animation-delay: 2.5s;
}

@keyframes coneGlow {
    0%,
    100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.3;
    }
}

/* Construction Site Elements */
.site-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.scaffolding {
    position: absolute;
    top: 30%;
    left: 5%;
    animation: scaffoldSway 14s ease-in-out infinite;
}

.scaffold-pole {
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
}

.scaffold-platform {
    width: 30px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

@keyframes scaffoldSway {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.concrete-mixer {
    position: absolute;
    bottom: 18%;
    right: 5%;
    animation: mixerRotate 20s ease-in-out infinite;
}

.mixer-drum {
    width: 35px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    animation: drumSpin 8s linear infinite;
}

.mixer-base {
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: absolute;
    bottom: -8px;
    left: 7px;
}

@keyframes mixerRotate {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes drumSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Measurement Lines */
.measurement-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.measurement-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    height: 2px;
    animation: measurementPulse 6s ease-in-out infinite;
}

.measurement-line.line1 {
    width: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.measurement-line.line2 {
    width: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.measurement-line.line3 {
    width: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes measurementPulse {
    0%,
    100% {
        opacity: 0.15;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(1.1);
    }
}

.dimension-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid rgba(255, 255, 255, 0.2);
    animation: arrowGlow 4s ease-in-out infinite;
}

.dimension-arrow.arrow1 {
    top: 18%;
    left: 15%;
    animation-delay: 0s;
}

.dimension-arrow.arrow2 {
    top: 58%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes arrowGlow {
    0%,
    100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.right-side img {
    max-width: 25em; /* Maximum width */

    object-fit: cover;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Space for the icon */
}

.password-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
}

@media (max-width: 850px) {
    .right-side {
        display: none;
    }
    .logo img {
        display: block;
    }
}
.forgotpasswordLink {
    color: #000000b9;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: right;
}

/* Error message styling */
.error {
    color: #dc2626 !important; /* Red color with !important */
    font-size: 0.75rem !important; /* Smaller font size */
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    display: block !important;
    text-align: left !important;
}

/* Also style validation errors */
.invalid-feedback {
    color: #dc2626 !important;
    font-size: 0.75rem !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    display: block !important;
}
