/*Styling sheet for resource feeds and cards used throughout the app*/
/*Main resource feed used on index, search, explore...*/

.resourceFeed-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap !important;
}

.feed-profile-user {
  margin-left: 8px;
}

.sponsored-tag, .sponsored-tag-mobile {
  position: absolute;
  top: 0;
  left: 5px;
  color: grey;
  padding: 3px;
  font-style: italic;
  font-size: small;
  margin-left: 20px;
}
.sponsored-tag-mobile {
  left: auto;
  right: 0;
  font-size: x-small;
}


.feed-public-nothing {
  background-color: #ffffff;
  border: 1px solid lightgray;
  border-radius: 15px;
  padding: 30px 15px;
  text-align: center;
}


.feed-middle-col-mobile-sponsor {
  margin: 0 0 0 0;
  padding: 0;
}


#material-icons-small {
  font-size: 13px;
  padding: 0 5px 2px 5px;
}

.feed-public-title {
  font-size: 20px;
  font-weight: bolder;
  margin: 10px 0;
}

.rlv-div-container{
    width: 100%;
}

.rlv-wrapper {
    display: flex;
    padding: 24px;
    background-color: #ffffff;
    margin: 0 0 16px 0;
    position: relative;
    box-shadow: 4px 2px 12px 0 #2D44560D;
    border: 1px solid #F3EFEF;
    border-radius: 15px;

}

.rlv-left-col-wrapper {
    padding: 0;
    max-height: 250px !important;
    border: rgba(211, 211, 211, 0.5) 1px solid;
    border-radius: 15px;
}

.rlv-left-col-wrapper img{
    max-height: 250px !important;
}

.rlv-right-col-wrapper {
    min-width: 60%;
    padding: 16px 0 0 16px !important;
    display: flex;
    justify-content: space-between;
}

.rlv-content-column {
    flex-grow: 1;
}

.rlv-icons-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 64px;
    gap: 36px;
    max-height: fit-content;
    height: fit-content;
    margin: 0;
}

.rlv-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.rlv-profile-link {
    display: flex;
    align-items: center;
    flex: 1;
    text-decoration: none;
}

.rlv-profile-wrapper {
    display: flex;
    justify-content: left;
    margin-bottom: 8px;
}

.rlv-title {
  font-size: 20px;
  font-weight: bolder;
}

.rlv-description {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    color: #566C7E;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.rlv-icon-tags-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 100% !important;
    overflow-x: visible;
    overflow-y: visible;
    flex-wrap: wrap;
    padding-left: 30px;
}

.rlv-icon-wrapper {
    width: 100%;
    max-width: 320px;
    justify-content: left;
    margin: 16px 0;
    position: relative;
    gap: 8px;
}

.rlv-price-actions{
    display: flex;
    flex-direction: column;
    max-width: fit-content;
    gap: 8px;
}

.rlv-actions{
    display: flex;
    flex-direction: row;
}

.rlv-price-paid,
.rlv-price-free{
    background-color: #C1B6FF;
    padding: 5px 10px;
    white-space: nowrap;
    color: #0F1429;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #0F1429;
    min-width: 64px;
    height: max-content;
}

.rlv-price-free{
    background: white;

}

/*Price from the full feed preview*/
.resource-full-price{
    margin: 8px
}

.rlv-price-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.rlv-checkmark{
    height: 24px;
    width: 24px;
    margin: 0 3px 0 -7px;
}

.rlv-icon {
    display: flex;
    align-items: center;
    margin-right: 6px;
    z-index: 10;
    position: relative;
}

.rlv-icon svg {
    margin-right: 6px;
    z-index: 10;
}


.purchased-badge {
    background-color: #e6f7e9;
    border: 1px solid #007D47;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 14px;
    color: #007D47;
    display: flex;
    align-items: center;
}

.purchased-text {
    font-size: 14px;
    font-weight: 600;
}

.action-thumb {
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #D3D3D3 ;
  opacity: 0px;
}

.action-platform {
  padding: 5px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
}

.action-price {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.action-price:hover {
    background: #D3D3D3;
    cursor: pointer;
}

.dropdown-arrow {
    margin-left: 8px;
    font-size: 0.75em;
    color: #000;
}


.action-title-author {
  padding: 0;
  margin-top: 16px;
  margin-left: -15px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: left;
}

.action-title h1{
    padding: 0;
    margin-top: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-align: left;
    margin-bottom: 24px;
}
/* Ensure that both the Link and the wrapper Col fill up 100% of their parent */
.action-edit-button-wrapper, .action-edit-button-wrapper > a {
  width: 100%;
  display: block;
}

.action-edit-button {
  width: calc(100% - 30px);
  height: 48px;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  background: #1C1E29;
  display: block;
  border: none;
}

.action-edit-button-wrapper > a {
  text-decoration: none;
  display: block;
  height: 100%;
  text-align: left;
  width: calc(100% + 30px);
}

.action-wrapper-child{
  display: flex;
  flex-direction: column;
}
.action-platform-price-row{
  justify-content: space-between;
  margin-right: 15px;
}

.action-price.free {
    cursor: default;
    margin-right: -15px;
    justify-content: center;
}

.action-price.free:hover {
    cursor: default;
    background: inherit;
}


.rlv-checkmark {
    /* font-size: 14px; !* Slightly larger checkmark for visibility *! */
}



.feed-thumb {
    width: 25px;
    height: 25px;
    padding: 1px;
    border: 1px solid #e2e0e0;
    border-radius: 7px;
    position: relative;
    right: -10px;
    bottom: 10px;
    z-index: 99 !important;
    background-color: white;
    float: inline-end;
}

.screenshot-skeleton {
    margin: 0;
    padding: 0;
    background-color: #ddd;
    border-radius: 4px;
    animation: skeleton-loading 1s linear infinite alternate;
    width: 100%;
    height: 100%;
}

.screenshot-mobile {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    max-height: 250px !important;
}

.screenshot {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    max-width: 100%;
    max-height: 600px;
}

.screenshot-container {
    position: relative;
    width: 100%;
    height: 250px;
    max-height: 600px;
}

.screenshot-hidden {
    visibility: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.screenshot-loaded .screenshot-skeleton {
    display: none;
}

.feed-tags {
  border: #dcdcdcff solid 1px;
  border-radius: 12px;
  padding: 1px 12px;
  font-size: 13px;
  margin: auto 10px 10px 0;
  text-transform: capitalize;
  height: 25px;
  display: flex;
  align-items: center;
  min-width: 30px;
  place-content: center;
  background: #ffffff;
}

.feed-tags-resource {
  border-radius: 30px;
  padding: 12px 16px;
  color: #4F5674;
  margin: auto 25px 10px -15px;
  background: #C8CBD4;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}
.feed-tags-resource:hover {
  background-color: rgba(12, 206, 179, 0.3);
}

.feed-tags:hover {
  background-color: rgba(255, 74, 0, 0.6);
  color: #ffffff;
}

.no-style {
  text-decoration: none;
}

/*Explore topics card used on index page*/
.card-explore-topics,
.card-top-contributors,
.card-get-started,
.card-collections,
.card-top-apps{
  overflow: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  flex-wrap: nowrap !important;
  padding-bottom: 7px;
}

/* Custom styles for the progress bar */

.custom-progress-bar {
  height: auto;
  background-color: #e9ecef;
  width: 75%;
  margin: 15px 0 10px 0;
  border-radius: 6px;
  font-size: 15px;
}

.custom-progress-bar .progress-bar {
  background-color: #28a745;
  border-radius: 6px;
  transition: width 0.6s ease;
}

.custom-progress-bar .progress-bar::after {
  content: attr(aria-valuenow) '%'; /* Display the percentage */
  color: #000;
  position: absolute;
  right: 5px;
  top: -20px;
  font-size: 15px;
}

.card-top-contributors img {
  background: white;
    border-radius: 50%;
}

.card-explore-title,
.card-top-contributors-title,
.card-get-started-title,
.card-advertisement-title,
.card-collections-title,
.card-top-apps-title {
  padding: 12px 0 12px 20px;
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 10px;
  flex-flow: column;
}

/* Logo Styling */
.card-top-apps-logo {
    width: 40px;
    height: 40px;
    margin: 0 20px;

}

.card-top-apps-logo img, .topApps-logo-image img {
    object-fit: cover;
    background: transparent;
    width: 40px;
    height: 40px;
}


.card-top-apps-name {
    margin: 0;
    font-weight: bold;
    font-size: 1rem;
}

/* Link Styling */
.card-top-apps-link {
    text-decoration: none;
    color: inherit;
    padding: 8px 15px;
}

.card-top-apps-content{
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease-in-out;
    border-radius: 8px;
    padding: 5px 0 5px 24px;
}

.card-top-apps-link:hover .card-top-apps-content {
    padding: 5px 0 5px 24px;
    background-color: rgba(15, 20, 41, 0.1);
    border-radius: 15px;
}

.platform-menu-link, .topic-menu-link, .tags-menu-link {
  text-decoration: none;
}

.tags-menu-content, .platform-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10px 15px 10px;
  text-align: center;
}

.tags-menu-image-wrapper, .platform-menu-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  box-shadow: 0 0 5px rgb(235, 242, 253);
  background: white;
}

.tags-menu-text {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: bold;
}

.tags-menu-content:hover .tags-menu-image-wrapper {
  background-color: rgb(194, 248, 240);
}

.collections-content{
  display: flex;
  flex-direction: column;
  color: #ffffff;
  font-weight: bolder;
  font-size: 26px;
  text-align: center;
}

.collections-content img{
  height: 100%;
  width: 100%;
  border-radius: 15px;
  opacity: 0.3;
}

.collections-content-wrapper,
.collections-content-wrapper-non{
  border: solid 1px #d95d39;
  border-radius: 15px;
  height: 150px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f1429;
  position: relative;
  overflow: hidden;
}

.collection-image-wrapper img{
  width: 100%;
  height: auto;
  display: block;
  min-height: 150px;
}

.collection-text-overlay,
.top-app-text-overlay {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  padding: 0 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collections-content-wrapper:hover img,
.collections-content-wrapper-non:hover {
  background-color: rgba(15, 20, 41, 0.6);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.top-app-row:hover {
    background-color: #ebe9f8;
    transition: opacity 0.3s ease;
    border-radius: 15px;

}

.top-app-row{
    display: flex;
    margin-left: -30px;

}

.top-app-image-wrapper{
    max-width: 60px;
    max-height: 60px;
    background: none;
}

.top-apps-content{
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: max-content;
}

.top-app-image{
    width: auto;
    height: 60px;
    border-radius: 50%;
    max-width: 60px;
}

.top-app-image-col{
    width: 60px;
    max-width: 60px;
    margin-right: 18px;
    justify-items: center;
    border-radius: 50%;
    place-self: center;
    background: white;
}

.top-app-details{
    display: inline-grid;
}

.top-app-name,
.top-app-rank{
    font-weight: bolder;
    font-size: 18px;
}

.top-app-description{
    font-weight: normal;
    font-size: 14px;
}

.top-contributors-content,
.card-get-started-content {
  padding: 10px 0;
  flex-wrap: nowrap !important;
}

.top-contributors-content {
  margin-right: 3px;
  margin-left: 3px;
  margin-bottom: 5px;
}

.top-contributors-content:hover {
    background-color: #ebe9f8;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.tags-menu-profile-pic, .platform-menu-profile-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  width: 25px;
  border: none;
  max-width: 100%;
  max-height: 100%;
}

.feed-see-more {
  display: flex;
  color: rgba(126, 123, 122, 0.66);
  justify-content: center;
  margin-bottom: 10px;
}

.get-started-checkmark,
.get-started-checkmark-num {
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  background: #2d4456;
  color: white !important;
  border-radius: 5px;
  margin-right: 20px;
  margin-left: 20px;
}

.get-started-checkmark-png {
  width: 30px;
  height: 30px;
}

.get-started-checkmark-num {
  background: #cac9c9;
}

.card-advertisement-image img {
  max-width: 100%;
  margin: 10px 20px;
}

.card-advertisement-contact-us {
  padding: 10px 0 4px 0;
  font-size: 16px;
  font-weight: bolder;
  justify-content: center;
  margin: 0 auto;
}

.top-contributors-position {
  background-color: #0f1429;
  border-radius: 4px;
  border: none;
  color: white;
  height: 20px;
  width: 20px;
  line-height: 20px;
  text-align: center;
  position: relative;
  left: 16px;
  top: 0;
  z-index: 998;
}

#preview-short-post .material-icons-wrapper {
  margin-bottom: 10px !important;
}
.hidden{
    display: none;
}

.resource-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #C1B6FF;
    padding: 30px;
    border-radius: 15px;
    margin: 0 0 10px 0;
    color: #0F1429;
    box-shadow: 0 4px 6px 0 lightgray;
    font-size: 20px;
}

.resource-text {
    max-width: 70%;
    margin-right: 20px;
    padding-right: 20px;
}

.resource-sign-up {
    background-color: #000000 !important;
    color: white !important;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px !important;
}

.resource-sign-up:hover {
    background-color: #333333 !important;
}

.injected-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 30%;
}

.injected-image {
    max-width: 200px;
    height: auto;
}

/* ── Dark mode: feed/list preview cards ── */
[data-theme="dark"] .rlv-wrapper {
    background-color: #1a1f2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 4px 2px 12px 0 rgba(0, 0, 0, 0.4) !important;
}
[data-theme="dark"] .rlv-title {
    color: #f1f5f9;
}
[data-theme="dark"] .rlv-description {
    color: #94a3b8;
}
[data-theme="dark"] .rlv-left-col-wrapper {
    border-color: rgba(255, 255, 255, 0.10);
}
[data-theme="dark"] .feed-profile-user {
    color: #94a3b8;
}
[data-theme="dark"] .feed-tags {
    background: #252c3d;
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}
[data-theme="dark"] .feed-tags-resource {
    background: #252c3d;
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}
[data-theme="dark"] .rlv-price-free {
    background: #252c3d;
    border-color: rgba(255, 255, 255, 0.20);
    color: #f1f5f9;
}
