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

:root {
    --primary-gradient: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --input-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #ffeb3b;
}

body.modern-login {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(167,72%,60%,0.15) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(187,72%,60%,0.15) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(167,72%,60%,0.15) 0, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
}

.modern-container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    z-index: 10;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-left {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.card-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

.card-right {
    flex: 1.2;
    min-width: 350px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container img {
    max-width: 120px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.village-info h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.village-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    opacity: 0.95;
    font-weight: 600;
    line-height: 1.6;
    color: #f1f5f9;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.login-form h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
}

.input-group-modern {
    margin-bottom: 20px;
    position: relative;
}

.input-group-modern input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none !important;
}

.input-group-modern input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00b09b;
    box-shadow: 0 0 0 4px rgba(0, 176, 155, 0.2);
}

.btn-modern {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 176, 155, 0.5);
}

.btn-modern:active {
    transform: translateY(0);
}

.btn-outline-modern {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    margin-top: 15px;
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.footer-meta {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-info {
    text-align: right;
}

.tech-info span {
    display: block;
}

.copy-btn {
    cursor: pointer;
    transition: color 0.3s;
}

.copy-btn:hover {
    color: var(--accent-color);
}

#notif {
    border-radius: 12px;
    border: none;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    backdrop-filter: blur(10px);
}

.village-address {
    margin-top: 25px;
    font-size: 1rem;
    opacity: 0.85;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .card-left {
        padding: 40px 20px;
    }
    .card-right {
        padding: 40px 30px;
    }
    .village-info h1 {
        font-size: 1.8rem;
    }
}
