/* OG-ebay-styles.css */

/* General Style */
code {
    font-family: inherit !important;
    font-size: inherit !important;
}

/* eBay Item Styles */
.ebay-item {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    margin-bottom: 15px;
    border-top: 1px solid #ddd;
}

.item-image {
    flex: 0 0 200px; /* Fixed width for the image */
    margin-right: 15px;
    margin-top: 15px;
}

@media (max-width: 400px)
{
    .item-image{
        flex: 0 0 140px; /* Fixed width for the image */
        margin-right: 10px;
        margin-top: 20px;
    }
}

.item-image a {
    border-bottom: none !important;
}

/* Item Information Styles */
.item-info {
    flex-grow: 1;
}

.item-info h4 {
    font-size: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 400px)
{
   .item-info h4 {
       font-size: 21px;
       margin-top: 10px;
       margin-bottom: 10px;
   }
}

.item-info p {
    margin-bottom: 0px !important;
    line-height: 2;
}

.item-info p span {
    margin-right: 10px;
}

.item-info p strong {
    font-weight: bolder;
    text-shadow: 0 0 1px rgba(0,0,0,0.4);
}

.ebay-api-form .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ebay-api-form .label {
    width: 120px; /* Adjust width as needed */
}

.ebay-api-form .input {
    flex-grow: 1;
}

.ebay-api-form .input input[type="text"] {
    width: 85%;
}

/* Styles for the Search button */
.ebay-api-form input[type="submit"] {
    background-color: #32373c;
    color: white;
    border-radius: 999px;
    border: 3px solid #000;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    cursor: pointer;
}

.ebay-api-form input[type="submit"]:hover {
    background-color: black; /* Slightly darker background on hover */
}