@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #0f172a;
  --surface-color: rgba(30, 41, 59, 0.7);
  --primary-color: #10b981;
  --primary-hover: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
}

.login-container {
    background-color: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* Reduzido de 50px 40px para 35px 30px */
    padding: 35px 30px; 
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 90%;
    /* Reduzido de 420px para 360px */
    max-width: 360px; 
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.logo img {
    /* Reduzido de 90px para 70px */
    width: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.2));
}

h1 {
    /* Reduzido de 2.2rem para 1.7rem */
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.input-group {
    /* Reduzido de 25px para 18px */
    margin-bottom: 18px;
    text-align: left;
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 500;
    color: var(--text-muted);
    /* Reduzido de 0.9rem para 0.85rem */
    font-size: 0.85rem;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.input-group input {
    width: 100%;
    /* Reduzido padding de 14px para 11px */
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background-color: rgba(15, 23, 42, 0.6);
    color: var(--text-main);
    /* Reduzido de 1rem para 0.95rem */
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    color: #fff;
    border: none;
    /* Reduzido de 14px para 12px */
    padding: 12px 0;
    /* Reduzido de 1.1rem para 1rem */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.login-btn:hover {
    transform: translateY(-2px);
}