﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f0f4ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* MAIN CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    height: 500px;                 /* You added this — keeping it */
    background: #fff;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* LEFT SECTION */
.left-box {
    width: 50%;
    padding: 60px 40px;
    background-color: #607d8b4f;
    color: #fff;
    display: flex;                 /* To center logo */
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex: 1;                       /* Keeps balanced layout */
}

.logo-img {
    width: 171px;
    height: 163px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;          /* Higher z-index kept */
    display: block;
    margin-bottom: 205px; /* Your alignment preserved */
    margin-right: 192px;  /* Your alignment preserved */
    position: relative;
}
/* TEXT STYLES */
.left-box h1 {
    font-size: 40px;
    font-weight: 700;
}

.left-box h3 {
    margin-top: 10px;
    font-weight: 400;
}

.left-box p {
    margin-top: 20px;
    width: 80%;
    line-height: 1.6;
}
/* REALISTIC GRADIENT CIRCLES (MATCHING IMAGE) */
.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1bb2ff, #0057d8 70%);
  filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.15));
  opacity: 0.95;
}

/* BIG TOP CIRCLE */
.circle1 {
    width: 564px;
    height: 590px;
    top: -126px;
    left: -87px;
}
/* MEDIUM CENTER CIRCLE */
.circle2 {
    width: 260px;
    height: 260px;
    bottom: -8px;
    left: -70px;
}

/* SMALL BOTTOM RIGHT CIRCLE */
.circle3 {
    width: 180px;
    height: 180px;
    bottom: 83px;
    right: 107px;
}
/* RIGHT LOGIN BOX */
.right-box {
  width: 50%;
  padding: 60px 50px;
}

.right-box h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 16px;
}

.input-group input {
  width: 100%;
  padding: 15px 45px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

/* INPUT FOCUS EFFECT */
.input-group input:focus {
  border-color: #003c8f;
  box-shadow: 0 0 6px rgba(0, 60, 143, 0.3);
}

/* SHOW PASSWORD */
.input-group .show {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #003c8f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

/* OPTIONS ROW */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.options a {
  color: #003c8f;
  text-decoration: none;
  font-weight: 500;
}

/* LOGIN BUTTON */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: #003c8f;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #002b6a;
}





/* 3D BOX EFFECT */
.right-box {
    width: 50%;
    padding: 60px 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.07);
    transform: translateZ(0);
}

/* 3D TITLE */
.right-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #003c8f;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* INPUT GROUP – 3D FIELDS */
.input-group input {
    width: 100%;
    padding: 15px 45px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: #f5f7ff;
    box-shadow: 
        inset 3px 3px 8px rgba(0,0,0,0.15),
        inset -3px -3px 8px rgba(255,255,255,0.8);
    transition: 0.3s ease;
}

.input-group input:focus {
    box-shadow: 
        inset 1px 1px 4px rgba(0,0,0,0.2),
        inset -1px -1px 4px rgba(255,255,255,0.9),
        0 0 12px rgba(0, 60, 143, 0.5);
}

/* 3D BUTTON */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(145deg, #003c8f, #002d6d);
    border: none;
    color: #fff;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 
        4px 4px 12px rgba(0,0,0,0.3),
        -2px -2px 6px rgba(255,255,255,0.3);
    transition: 0.3s ease;
    margin-top: 40px;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 
        2px 2px 6px rgba(0,0,0,0.25),
        -1px -1px 4px rgba(255,255,255,0.2);
}

/* 3D OUTLINE BUTTON */
.btn-outline {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    border: 2px solid #003c8f;
    color: #003c8f;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 
        3px 3px 10px rgba(0,0,0,0.15),
        -2px -2px 6px rgba(255,255,255,0.6);
    transition: 0.3s;
}

.btn-outline:hover {
    background: #003c8f;
    color: #fff;
    box-shadow: 
        4px 4px 12px rgba(0,0,0,0.25),
        -2px -2px 8px rgba(255,255,255,0.5);
}

/* 3D ICONS */
.input-group i {
    color: #003c8f;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}






.logo-second {
    width: 150px;        
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1bb2ff, #0057d8 70%);
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.15));
    opacity: 0.95;
    z-index: 1;   /* circle stays behind */
}




/* ================================
   📱 RESPONSIVE MEDIA QUERY
   ================================ */
@media (max-width: 900px) {

    .container {
        flex-direction: column;
        width: 95%;
        max-width: 500px;
        height: auto;
    }

    /* LEFT SECTION */
    .left-box {
        width: 100%;
        padding: 40px 30px;
        text-align: center;
    }

    /* LOGOS CENTER */
    .logo-img,
    .logo-second {
        margin-left: auto;
        margin-right: auto;
    }

    /* LEFT TEXT */
    .left-box p {
        width: 100%;
        margin: 20px auto;
    }

    /* CIRCLES SMALLER */
    .circle1 {
        width: 380px;
        height: 380px;
        top: -80px;
        left: -50px;
    }

    .circle2 {
        width: 180px;
        height: 180px;
        bottom: -40px;
        left: -40px;
    }

    .circle3 {
        width: 120px;
        height: 120px;
        bottom: 50px;
        right: 40px;
    }

    /* RIGHT LOGIN SECTION */
    .right-box {
        width: 100%;
        padding: 40px 30px;
        border-radius: 0 0 20px 20px !important;
    }

    .right-box h2 {
        font-size: 26px;
    }

    .input-group input {
        padding: 13px 45px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-outline {
        font-size: 15px;
        padding: 12px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {

    .left-box {
        padding: 30px 20px;
    }

    .circle1 {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -60px;
    }

    .circle2 {
        width: 130px;
        height: 130px;
        bottom: -50px;
        left: -30px;
    }

    .circle3 {
        width: 90px;
        height: 90px;
        bottom: 40px;
        right: 20px;
    }

    .right-box {
        padding: 30px 20px;
    }
}