
body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.top-link {
    text-align: center;
    margin: 20px 0;
}

.return-home {
    color: yellow;
    text-decoration: none;
    font-size: 1.2rem;
}

.return-home:hover {
    text-decoration: underline;
}

.tool-image {
    text-align: center;
    margin-bottom: 20px;
}

.tool-image img {
    width: 600px; /* Fixed width for desktop */
    height: 338px; /* Fixed height for desktop */
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.5;
}

.tool-frame {
    background-color: #333;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

form {
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 10px;
    width: 90%;
    max-width: 600px;
    margin-bottom: 20px; /* Adds space between input and reCAPTCHA */
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.button-group {
    margin-top: 10px;
}

.btn {
    padding: 10px 20px;
    background-color: #ff6347;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
    border-radius: 5px;
}

.reset-btn {
    background-color: #444;
}

.social-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.pinterest { background-color: #bd081c; }
.linkedin { background-color: #0077b5; }
.reddit { background-color: #ff4500; }

.social-btn:hover {
    opacity: 0.8;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
    overflow-x: auto;
}

.results-table th, .results-table td {
    padding: 10px;
    border: 1px solid #444;
    word-wrap: break-word;
    text-align: center;
}

.results-table th {
    background-color: #222;
}

.results-table tr:nth-child(even) {
    background-color: #333;
}

#postSearchLink {
    margin-top: 40px; /* Extra space from search results */
    text-align: center;
}

/* Mobile adjustments for card layout */
@media screen and (max-width: 768px) {
    .results-table {
        display: block; /* Switch to block for mobile */
    }

    .results-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #444;
        padding: 10px;
        border-radius: 5px;
        background-color: #222;
    }

    .results-table th {
        display: none; /* Hide table headers on mobile */
    }

    .results-table td {
        display: block;
        text-align: left;
        padding: 5px 10px;
        border: none;
    }

    .results-table td::before {
        content: attr(data-label); /* Add label using data-label */
        font-weight: bold;
        display: block;
    }

    .tool-image img {
        width: 100%; /* Full width for mobile */
        height: auto; /* Maintain aspect ratio */
    }

    .btn {
        font-size: 0.9rem;
    }
}
