@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* 1. Global Background (Matches stat_input.css) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    /* Kingpin Diagonal stripe pattern */
    background-image: repeating-linear-gradient(
        45deg,
        #111 0,
        #111 2px,
        #000 2px,
        #000 10px
    );
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: white;
}

/* 2. Login Card (Matches .kingpin-card) */
.login-card {
    background: #0f0f0f; /* Dark Grey */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Translucent White Border */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); /* White glow */
    border-radius: 1.5rem;
    padding: 2.5rem; /* Standard internal spacing */
    width: 100%;
    max-width: 400px; /* Constrain width for login form */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2); /* Enhanced glow on hover */
    border-color: rgba(255, 255, 255, 0.5);
}

/* 3. Input Fields (Matches .kingpin-input) */
input.bowling-input {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.5rem;
    color: white;
    width: 100%;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    font-weight: 500;
}

/* Focus state */
input.bowling-input:focus {
    border-color: #ffffff; /* White focus */
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* 4. Buttons (Matches .kingpin-btn) */
.login-btn {
    background-color: #ffffff; /* White Button */
    color: #000000; /* Black Text */
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.1s ease, background-color 0.2s;
}

.login-btn:hover {
    background-color: #e5e5e5;
    transform: scale(1.02);
}

.login-btn:active {
    transform: scale(0.98);
}

/* 5. Logo / Image Styling */
.logo-static {
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 1000;
}

.logo-static img,
.logo-img {
    width: 240px;
    height: 82px;
    object-fit: contain;
    display: block;
}

/* Text links (e.g., "Forgot Password") */
.login-link {
    color: #888;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}
.login-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 630px) {
    .login-card {
        padding: 1.5rem;
    }
}
