/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #333;
    position: relative;
}

.container {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    margin-bottom: 80px; /* Space for floating back button */
    
    /* Subtle neon orange border */
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        #ff9500, 
        #ff4500, 
        #ff9500,
        #ff4500,
        #ff9500);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.7;
    animation: neonGlow 4s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.3),
                    0 0 20px rgba(255, 69, 0, 0.2),
                    0 0 30px rgba(255, 69, 0, 0.1);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 69, 0, 0.4),
                    0 0 25px rgba(255, 69, 0, 0.3),
                    0 0 35px rgba(255, 69, 0, 0.2);
    }
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: #222;
    text-align: center;
}

.input-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1rem;
    background-color: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-bottom-color: #333;
    box-shadow: 0 2px 0 0 #333;
}

.input-group input::placeholder {
    color: #999;
}

.btn {
    width: 100%;
    padding: 14px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn:hover, .btn:focus {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.message {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.success {
    background-color: #e6ffed;
    color: #22863a;
    border-left: 4px solid #28a745;
}

.error {
    background-color: #ffeef0;
    color: #cb2431;
    border-left: 4px solid #dc3545;
}

.recover {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.95rem;
    color: #666;
}

.recover a {
    color: #ff4739;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.recover a:hover {
    color: #e03e30;
    text-decoration: underline;
}

/* Sleek floating back button */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #000000;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    text-decoration: none;
}

.floating-back-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.floating-back-btn:hover {
    background: #ff4500;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.floating-back-btn:hover i {
    transform: translateX(-5px);
}

.floating-back-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 69, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .floating-back-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
        margin-bottom: 70px;
    }

    .form-title {
        font-size: 1.5rem;
    }
    
    .floating-back-btn {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }
    
    .floating-back-btn i {
        font-size: 16px;
    }
}
