/* URL Sharing and Notification Styles */

/* URL Share Modal */
.url-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.url-share-content {
    background: var(--paper, #F3E9D2);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--iron, #808080);
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.url-share-content h3 {
    margin-top: 0;
    color: var(--ink, #1A1A1A);
    font-family: "Bitter", serif;
    margin-bottom: 15px;
}

.url-share-content p {
    margin-bottom: 20px;
    color: var(--ink-2, #3A342B);
}

.url-share-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--rule, rgba(26, 26, 26, .25));
    border-radius: 4px;
    background: white;
    font-size: 1.1em;
    color: var(--ink, #1A1A1A);
    text-align: center;
}

.url-share-input:focus {
    border-color: var(--brass, #C7A34A);
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 163, 74, 0.2);
}

/* Notification Toast */
.url-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink, #1A1A1A);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    font-family: "Bitter", serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.url-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.url-notification-success {
    background: #2e7d32;
    /* Green */
    border: 1px solid #43a047;
}

.url-notification-error {
    background: #c62828;
    /* Red */
    border: 1px solid #e53935;
}

.url-notification-info {
    background: var(--iron, #808080);
    border: 1px solid #9e9e9e;
}

/* Updated button styling for the share button */
#share-setup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--paper-aged, #E6D7B5);
    color: var(--ink, #1A1A1A);
    border: 1px solid var(--iron, #808080);
}

#share-setup-btn:hover {
    background: var(--paper, #F3E9D2);
    border-color: var(--brass, #C7A34A);
    color: var(--crimson, #990000);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}