/* login-popup.css */
.login-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.login-popup-content {
    position: fixed;
    /* Liquid glass styles */
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px; /* Increased padding */
    width: 90%;
    max-width: 500px;
}

@media only screen and (max-width: 600px) {
 .login-popup-content {
   width: 90%;
 }
}

.login-popup-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    top: -2px;
    right: -2px;
    color: #fff;
    font-family: none;
    float: right;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;   
    width: 38px;
    height: 38px;
}

.login-popup-close:hover,
.login-popup-close:focus {
    text-decoration: none;
    cursor: pointer;
    background-color:#c5cadc;
}

/* Enhanced form layout */
.login-popup-form {
    align-items: center;
    background-color: transparent;
    margin: auto;
    padding: 0;
    border: none;
    width: 100%;
    max-width: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.login-popup-form p {
    margin-top: 0px;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.4;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.email-input-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: stretch;
    width: 90%;
}

@media (max-width: 600px) {
    .email-input-group {
        flex-direction: column;
        gap: 16px;
    }
}

.login-popup-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.98) 100%);
    color: #2d3748;
    border-radius: 16px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px) saturate(120%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    position: relative;
    min-width: 0;
    height: 39px;
}

.login-popup-form input[type="email"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.3) 0%,
        rgba(219, 39, 119, 0.3) 50%,
        rgba(59, 130, 246, 0.3) 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-popup-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
    /* color: rgba(45, 55, 72, 0.6);
    font-weight: 300;
    font-style: italic;
    font-size: 15px; */
}

.login-popup-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(167, 139, 250, 0.6);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(252, 252, 253, 1) 100%);
    box-shadow: 
        0 12px 40px rgba(167, 139, 250, 0.25),
        0 4px 16px rgba(167, 139, 250, 0.15),
        0 0 0 4px rgba(167, 139, 250, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(167, 139, 250, 0.1);
    transform: translateY(-2px) scale(1.01);
}

.login-popup-form input[type="email"]:focus::before {
    opacity: 1;
}

.login-popup-form button {
    /* Premium gradient button with sophisticated colors */
    background: linear-gradient(135deg,
        #FF7096 0%,
        #DB2777 50%,
        #B91C4A 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    flex-shrink: 0;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    height: 39px;
    
    /* Premium shadow system */
    box-shadow:
        0 8px 32px rgba(219, 39, 119, 0.4),
        0 4px 16px rgba(219, 39, 119, 0.3),
        0 2px 8px rgba(219, 39, 119, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    
    /* Modern font stack */
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animated gradient overlay */
.login-popup-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

/* Subtle top highlight */
.login-popup-form button::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 70%,
        transparent 100%
    );
    border-radius: 15px 15px 8px 8px;
    pointer-events: none;
}

.login-popup-form button:hover {
    background: linear-gradient(135deg,
        #FF4070 0%,
        #C02646 50%,
        #A01B3A 100%);
    transform: translateY(-3px) scale(1.03);
    
    /* Enhanced glow system */
    box-shadow:
        0 12px 48px rgba(219, 39, 119, 0.5),
        0 8px 24px rgba(219, 39, 119, 0.4),
        0 4px 12px rgba(219, 39, 119, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    
    border-color: rgba(255, 255, 255, 0.5);
}

.login-popup-form button:hover::before {
    left: 100%;
}

.login-popup-form button:active {
    background: linear-gradient(135deg,
        #A01B3A 0%,
        #C02646 25%,
        #DB2777 50%,
        #FF7096 75%,
        #FF8FA8 100%);
    transform: translateY(-1px) scale(0.99);
    transition: all 0.2s ease;
    
    /* Pressed state shadow */
    box-shadow:
        0 4px 16px rgba(219, 39, 119, 0.4),
        0 2px 8px rgba(219, 39, 119, 0.3),
        inset 0 2px 4px rgba(170, 25, 75, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-popup-form button:disabled {
    background: linear-gradient(135deg, 
        rgba(156, 163, 175, 0.8) 0%,
        rgba(107, 114, 128, 0.8) 100%);
    cursor: not-allowed;
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.login-popup-form button:disabled::before,
.login-popup-form button:disabled::after {
    display: none;
}
