.store-cards{
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

span.ribbon {
    background: red;
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
    width: 87px;
    display: block;
    box-shadow: 0 0 8px 0 rgba(71, 77, 86, .08), 0 1px 0 0 rgba(71, 77, 86, .03);
    position: absolute;
    top: 14px;
    left: -20px;
    font-weight: 600;
}

.store-card {
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px 16px;
    border-radius: 8px;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    animation: fadeIn-7a7a37b1 0.5s forwards;
}

.ribbon-box {
    position: relative;
}

.store-card-title {
    text-align: center;
}

.store-card-title a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #62a0e3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-card-content {
    gap: 13px;
    display: flex;
    position: relative;
    border-radius: 6px;
}
.store-card-img {
    width: 70px;
    height: 70px;
    border-radius: 21%;
    border: 1px solid #dddddd;
    object-fit: cover;
}
.store-card-info {
    flex: 1;
    min-width: 0;
    color: #666;
    display: flex;
    flex-direction: column;
}
.store-meta-details {
    display: flex;
    font-size: 12px;
    align-items: center;
    margin-top: 8px;
    gap: 3px;
}
.store-meta-details em {
    color: #c9cfd5;
}
.store-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.store-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

#searchForm {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
    height: 45px;
}

#searchForm input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

#searchForm select {
    padding: 8px 28px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    appearance: none;
    height: 100%;
}

#searchForm #term {
    flex: 1;
    min-width: 200px;
}

#searchBtn {
    background-color: #0071e3;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#searchBtn:hover {
    background-color: #0062c4;
}

#searchBtn:disabled {
    background-color: #a7a7a7;
    cursor: not-allowed;
}

#results, #pendingList {
    list-style: none;
    padding: 0;
    margin: 0;
}
i.ceofont.ceoicon-arrow-down-s-fill {
    position: absolute;
    top: 13px;
    right: 8px;
    transition: transform 0.4s ease;
    transform-origin: center;
    width: 16px;
    height: 18px;
    pointer-events: none;
}

.ceo-position-relative select:focus + i.ceofont.ceoicon-arrow-down-s-fill {
  transform: rotate(180deg);
}
.app-result {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 3px 3px 5px rgb(177 177 177 / 20%);
    margin-bottom: 15px;
    gap: 15px;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

.app-details {
    flex: 1;
    min-width: 0;
}

.app-name {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.submit-btn {
    background-color: #34c759;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #248a3d;
}

.submit-btn:disabled {
    background-color: #a7a7a7;
}

#recentDoneSection {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.store-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.app-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    gap: 12px;
}

.view-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.view-more-btn {
    background: #0071e3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.loading, .no-results, .no-pending, .error {
    padding: 15px;
    text-align: center;
    color: #666;
}

.error-message {
    padding: 15px;
    text-align: center;
    color: #d30c0c;
}

.reload-btn {
    background: #d30c0c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}

#togglePendingBtn {
    background: #ff9500;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    cursor: pointer;
}