:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --primary-color: #fe366b;
    --secondary-color: #03f791;
    --container-bg: #ffffff;
    --input-bg: #f9fafb;
    --input-border: #d1d5db;
}

.dark-mode {
    --bg-color: #1f2937;
    --text-color: #f3f4f6;
    --primary-color: #fe366b;
    --secondary-color: #03f791;
    --container-bg: #111827;
    --input-bg: #374151;
    --input-border: #4b5563;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.login-container {
    background-color: var(--container-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terms {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 1rem;
    text-align: center;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Estilos personalizados para los botones de FirebaseUI */
.firebaseui-idp-button {
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.firebaseui-idp-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.firebaseui-idp-password,
.firebaseui-idp-password:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.firebaseui-idp-google,
.firebaseui-idp-google:hover {
    background-color: #ffffff !important;
    color: #757575 !important;
}

.firebaseui-idp-facebook,
.firebaseui-idp-facebook:hover {
    background-color: #1877f2 !important;
    color: white !important;
}

.firebaseui-idp-button[data-provider-id="instagram.com"],
.firebaseui-idp-button[data-provider-id="instagram.com"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
}

.firebaseui-idp-button[data-provider-id="tiktok.com"],
.firebaseui-idp-button[data-provider-id="tiktok.com"]:hover {
    background-color: #000000 !important;
    color: white !important;
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}