#search-form {
    flex-grow: 1;
/*    margin-right: 1rem; */
}

.search-bar {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.app-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.app-card h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.app-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.website-link {
    color: #6d4d3c;
    text-decoration: none;
    margin-bottom: 10px;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.tag {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    color: #333;
}

.app-ratings {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rating {
    font-size: 0.9em;
    color: #666;
}

.app-votes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.votes {
    font-size: 0.9em;
    color: #666;
}

.vote-btn {
    background-color: #6d4d3c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.details-link {
    text-align: center;
    background-color: #583427;
    color: #fff;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 4px;
}

/* App Detail Page Styles */
.app-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.review-form {
    margin-bottom: 20px;
}

.rating-input {
    margin-bottom: 10px;
}

.star-rating {
    display: inline-block;
    direction: rtl;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    color: #ddd;
    font-size: 12px;
}