/* Styles pour la page de partage */
.share-page {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

/* Ajout d'un overlay sombre pour améliorer la lisibilité */
.share-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.share-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-light-dark);
    z-index: -1;
}

.share-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.share-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #b3b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.share-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.share-preview {
    margin-bottom: 2rem;
}

.preview-frame {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 400px;
}

.preview-content {
    background: var(--overlay-light-dark);
    border-radius: 8px;
    padding: 1.5rem;
}

.preview-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    margin: 0;
}

.share-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copy-button {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    justify-content: center;
}

.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 62, 255, 0.3);
}

.link-icon {
    font-size: 1.2rem;
}

.share-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Toast de notification */
.share-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background:green;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.share-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Media Queries */
@media (max-width: 768px) {
    .share-content {
        padding: 1rem;
    }

    .share-container {
        padding: 2rem;
    }

    .share-title {
        font-size: 2rem;
    }

    .share-description {
        font-size: 1.1rem;
    }

    .preview-frame {
        padding: 1.5rem;
    }

    .preview-content {
        padding: 1rem;
    }

    .preview-text {
        font-size: 1rem;
    }

    .share-button {
        width: 100%;
    }
}

/* Footer */
.footer {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

/* Ajustement pour les mobiles */
@media (max-width: 768px) {
    .footer {
        padding: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }
} 