@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(255, 255, 255, 0.03);
    --primary-color: #8b5cf6; 
    --secondary-color: #3b82f6; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Effects */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.blob-1 {
    top: 0%;
    left: 0%;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
    transform: translate(-30%, -30%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
    transform: translate(20%, 20%);
    opacity: 0.2;
}

/* Left abstract shape as seen in the reference */
.left-shape {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 40vw;
    height: 60vh;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    transform: rotate(15deg);
    background: linear-gradient(135deg, rgba(25, 25, 35, 0.4) 0%, rgba(5, 5, 5, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Main Container */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* Login Box / Card */
.login-box {
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 60px 50px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow for the box */
.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.logo {
    max-width: 160px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

.title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
    color: #f1f1f1;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.input-group {
    width: 100%;
}

.input-group input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Pill Button Style */
.btn-login {
    margin-top: 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 30px; 
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(1px);
}
