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

/* =========================
   BODY
========================= */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto;
    background: linear-gradient(135deg, #1e2a3a 0%, #2d3e50 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* =========================
   CONTAINER
========================= */
.container {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   ANIMATED CIRCLE
========================= */
.circle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================
   LOGIN BOX
========================= */
.login-box {
    position: relative;
    z-index: 10;
    background: rgba(30, 42, 58, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 420px;
    max-width: 92vw;
}

/* =========================
   BRAND
========================= */
.brand {
    text-align: center;
    margin-bottom: 22px;
}

.brand img {
    width: 140px;
    max-width: 75%;
    margin-bottom: 12px;
}

.brand h2 {
    color: #ffa500;
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================
   INPUTS
========================= */
.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group input {
    width: 100%;
    padding: 12px 42px 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #ffa500;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.35);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

/* =========================
   FORGOT PASSWORD
========================= */
.forget-password {
    text-align: right;
    margin-bottom: 24px;
}

.forget-password a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-decoration: none;
}

.forget-password a:hover {
    color: #ffa500;
}

/* =========================
   LOGIN BUTTON
========================= */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #ffa500, #ff8c00);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.5);
}

/* =========================
   SOCIAL LOGIN (DESKTOP)
========================= */
.social-login {
    margin-top: 25px;
    text-align: center;
}

.social-login p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.social-icon.facebook { background: #3b5998; }
.social-icon.twitter { background: #000000; }
.social-icon.google { background: #db4437; }

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

/* =========================
   SIGNUP
========================= */
.signup-link {
    text-align: center;
    margin-top: 25px;
}

.signup-link a {
    color: #ffa500;
    font-weight: 600;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* =========================
   ANIMATED BARS
========================= */
.bar {
    position: absolute;
    width: 8px;
    height: 35px;
    background: #4a5f7f;
    border-radius: 4px;
    top: 0;
    left: 50%;
    transform-origin: center 170px;
}

.bar.active {
    background: linear-gradient(180deg, #ffa500, #ff8c00);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 480px) {

    body {
        padding: 15px;
        overflow-y: auto;
    }

    .container {
        width: 100%;
        height: auto;
    }

    .circle-container {
        display: none;
    }

    .login-box {
        width: 100%;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .brand img {
        width: 120px;
    }

    .brand h2 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .input-group input {
        font-size: 15px;
    }

    .login-btn {
        font-size: 15px;
    }

    .social-login {
        display: none;
    }
}