/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Body full black background */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d0d0d;
    color: #f5f5f5;
}

/* Container */
.login-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px;
}

/* Logo */
.logo {
    width: 140px;
    height: auto;
    margin: 0 auto 25px;
    display: block;
}

/* Card */
.login-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.9);
}

/* Headings */
.login-card h2 {
    margin-bottom: 20px;
    color: #f5f5f5;
}

/* Inputs */
.login-card input {
    width: 100%;
    padding: 0.9rem 1rem;
    margin: 8px 0;
    border-radius: 50px;
    border: 1px solid #333;
    background-color: #0d0d0d;
    color: #f5f5f5;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.login-card input:focus {
    outline: none;
    border: 1px solid #6a11cb;
    box-shadow: 0 0 8px #6a11cb;
}

/* Fancy login button */
.login-btn {
    width: 100%;
    padding: 0.95rem;
    margin-top: 12px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
}

.login-btn::after {
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.login-btn:hover::after {
    left: 120%;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    background-position: right center;
}

/* Google SSO button */
.google-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    transform: scale(0.85);
    transform-origin: top left;
}

/* Custom button fallback if using .google-btn */
.google-btn {
    width: 100%;
    padding: 0.9rem;
    margin-top: 15px;
    border-radius: 50px;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #f5f5f5;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.google-btn:hover {
    background-color: #333;
}

/* hCaptcha */
.h-captcha {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    transform: scale(0.85);  /* scale down to fit card */
    transform-origin: 0 0;
}

/* Error messages */
.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    margin: 3px 0 8px 0;
    display: block;
