/* Container & Grid */
#my-travel-widget-container {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

#my-travel-widget-container h3{
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.activities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* Activity Card */
.activity-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Image */
.activity-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.top-activity-card-container {
    display: flex;
    justify-content: space-between; /* pushes items to edges */
    align-items: center;
    padding: 10px 20px 0 20px;
}

h4.activity-title {
    font-size: 16px;
    margin: 0; /* remove extra margins so flex works cleanly */
    font-weight: bold;
}

.activity-rating {
    font-size: 14px;
    font-weight: bold;
}

.activity-description{
    font-size: 14px;
    margin: 0 20px 10px 20px;
    color: #333;
    line-height: 1.4;
    position: relative;

}

/* Details */
.activity-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px 10px 20px;
    font-size: 14px;
    color: #555;
}

/* Spinner & Errors */
.loading-spinner, .no-activities, .error-message {
    text-align: center;
    font-size: 16px;
    padding: 20px;
    color: #333;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-weight: bold;
    font-size: 16px;
    color: #555;
}

.loading-spinner::after {
    content: "";
    margin-left: 10px;
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

a.toggle-desc{
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 5px;
    text-decoration: none;
}

.activity-price{
    font-size: 12px;
}

.activity-price-amount{
    margin:0 10px;
    font-weight: 200;
    font-size: 20px;
    color: #ff8d14;
}

.activity-price-from-amount{
    margin:0 10px;
    font-weight: 200;
    font-size: 18px;
    color: #a98d6f;
    text-decoration: strike-through;
}

button.link-button {
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

button.link-button a {
    color: #435c4e;
    text-decoration: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

