.hidden {
    display: none;
}

.modal-backdrop {
    backdrop-filter: blur(4px);
}

input {
    padding: 1rem 0 1rem 2.5rem !important;
    border-radius: .75rem !important;
}

/* Styling for share link */
#shareUrlInput {
    font-size: 14px;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    color: #374151;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

#shareUrlInput:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

#copyLinkButton {
    background-color: #4f46e5;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

#copyLinkButton:hover {
    background-color: #4338ca;
}

#copyLinkButton:disabled {
    background-color: #a5b4fc;
    cursor: not-allowed;
}

/* Social sharing buttons */
.social-share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
}

.social-btn svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.social-btn.twitter {
    background-color: #1DA1F2;
}

.social-btn.twitter:hover {
    background-color: #1a91da;
}

.social-btn.linkedin {
    background-color: #0A66C2;
}

.social-btn.linkedin:hover {
    background-color: #0958a8;
}

.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn.facebook:hover {
    background-color: #0d6efd;
}

.social-btn.whatsapp {
    background-color: #25D366;
}

.social-btn.whatsapp:hover {
    background-color: #20bd5a;
}

/* Modal styling */
#shareModal .modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 24px;
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
}

#shareModal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

#shareModal .modal-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

#shareModal .close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

#shareModal .close-button:hover {
    background-color: #f3f4f6;
}

.share-url-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.share-url-container input {
    flex: 1;
}

/* Animation for copy button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#copyLinkButton.copied {
    background-color: #10b981;
    animation: pulse 0.3s ease-in-out;
}