/* General Page Layout */
html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Image */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.ctfassets.net/lzny33ho1g45/best-fitness-tracking-apps-p-img/e2e0d9b19f341b84bc368acf6054ac9f/file.png?w=1520&fm=jpg&q=30&fit=thumb&h=760');
    /* Change this to your image path */
    background-size: cover;
    /* Cover the entire background */
    background-position: center;
    /* Center the image */
    opacity: 0.6;
    /* Transparency */
    z-index: -1;
    /* Place it behind other content */
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    /* Take up remaining height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Main Content Styles */
.main-content {
    max-width: 600px;
    width: 100%;
}

/* Tagline Styles */
.tagline h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.tagline p {
    font-size: 1.2em;
    margin-bottom: 2em;
}

/* Button Layout */
#auth-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.auth-btn {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
    position: relative;
}

/* Button Icons */
.auth-btn i {
    font-size: 1.2rem;
}

/* Login / Sign Up Colors */
#loginBtn {
    background-color: #007bff;
}

#signupBtn {
    background-color: #ff5722;
}

/* Hover Effects */
.auth-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.6);
}

/* Pulse Animation */
.auth-btn::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: pulse 2s infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tagline h2 {
        font-size: 2rem;
    }
    .tagline p {
        font-size: 1rem;
    }
    .auth-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

/* Ensuring Footer sticks to bottom */
.content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile first adjustment for layout */
@media (max-width: 768px) {
    footer {
        font-size: 14px;
    }
}
#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
