:root {
    --primary: #FFB347;
    --primary-dark: #e69a30;
    --accent: #70E1F5;
    --text-main: #2D3436;
    --text-light: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.88);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.page-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1516734212186-a967f81ad0d7?q=80&w=2071');
    background-size: cover;
    background-position: center;
    animation: backgroundMove 20s infinite alternate;
    z-index: -2;
}

@keyframes backgroundMove {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.2));
    z-index: -1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.8rem; 
    border-radius: 35px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    width: 90%;
    max-width: 380px;
    border: 1px solid rgba(255,255,255,0.4);
    text-align: center;
    animation: cardEntry 1s var(--transition);
}

@keyframes cardEntry {
    0% { opacity: 0; transform: translateY(60px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}


.logo-area { margin-bottom: 1rem; }

.icon-circle {
    background: var(--primary);
    width: 55px; 
    height: 55px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 18px rgba(255, 179, 71, 0.35);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.logo-area h1 {
    margin: 0;
    color: var(--primary);
    font-size: 1.9rem; 
    letter-spacing: -1px;
}


.welcome-text h2 { color: var(--text-main); font-size: 1.4rem; margin-bottom: 3px; }
.welcome-text p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }


.input-field {
    position: relative;
    margin-bottom: 15px;
}

.input-field i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    transition: var(--transition);
}

.input-field input {
    width: 100%;
    padding: 12px 45px 12px 12px;
    border-radius: 15px;
    border: 2px solid #eee;
    background: #fdfdfd;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.input-field input:focus {
    border-color: var(--primary);
    background: white;
}

.input-field input:focus + i {
    color: var(--primary);
}


.btn-main {
    width: 100%;
    padding: 12px; 
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 5px;
}

.btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 179, 71, 0.4);
}

.divider {
    margin: 18px 0; 
    position: relative;
    display: flex;
    align-items: center;
    color: #bbb;
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: ""; flex: 1; height: 1px; background: #eee;
}
.divider span { padding: 0 12px; }

.google-btn {
    width: 100%;
    padding: 10px; 
    background: white;
    border: 2px solid #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.google-btn img { width: 18px; } 

.google-btn:hover {
    background: #f9f9f9;
    border-color: #ddd;
    transform: scale(1.02);
}

.form-footer { margin-top: 1.5rem; font-size: 0.9rem; }
.form-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }
.form-footer a:hover { text-decoration: underline; }