/**
 * Styles for Spyglass Search Short URL functionality
 */

/* Share button */
.search-share-btn {
    display: inline-block;
    background-color: #4267B2;
    color: white;
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.search-share-btn:hover {
    background-color: #3b5998;
}

.search-share-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Share modal */
.search-share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.search-share-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-share-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.search-share-modal-close:hover {
    color: black;
}

.search-share-modal h3 {
    margin-top: 0;
    color: #333;
}

.search-share-url-container {
    display: flex;
    margin: 15px 0;
}

#search-share-url {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    background-color: #f9f9f9;
}

#search-share-copy-btn {
    background-color: #4267B2;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#search-share-copy-btn:hover {
    background-color: #3b5998;
}

.search-share-social {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.search-share-social a {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.2s;
}

.search-share-facebook {
    background-color: #4267B2;
}

.search-share-facebook:hover {
    background-color: #3b5998;
}

.search-share-twitter {
    background-color: #1DA1F2;
}

.search-share-twitter:hover {
    background-color: #0d95e8;
}

.search-share-email {
    background-color: #EA4335;
}

.search-share-email:hover {
    background-color: #d62516;
}

@media (max-width: 480px) {
    .search-share-social a {
        width: 100%;
        margin: 5px 0;
    }
} 