.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=".svg"]{width:48px}.elementor-widget-image img{display:inline-block;vertical-align:middle}.zj-suggest-container {
font-family: Arial, sans-serif;
margin: 0 auto;
position: relative;
}
.zj-suggest-input-wrapper {
position: relative;
margin-bottom: 20px;
}
.zj-suggest-input-wrapper .zj-suggest-input {
width: 100%;
padding: 12px 16px;
font-size: 16px;
border: 1px solid #ccc;
box-sizing: border-box;
transition: all 0.3s ease;
background-color: #FFE7B2;
}
.zj-suggest-input-wrapper .zj-suggest-input:disabled {
background-color: #f0f0f0;
cursor: not-allowed;
opacity: 0.6;
border-color: #ddd;
}
.zj-suggest-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border: 1px solid #ddd;
border-top: none;
border-radius: 0 0 8px 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 100;
max-height: 300px;
overflow-y: auto;
}
.zj-suggest-dropdown-loading {
padding: 15px;
display: flex;
align-items: center;
gap: 10px;
color: #666;
justify-content: center;
}
.zj-spinner-small {
width: 20px;
height: 20px;
border-width: 3px;
border-color: rgba(246, 181, 40, 0.3);
border-top-color: #f6b528;
margin-bottom: 0;
}
.zj-suggest-dropdown-item {
padding: 10px 16px;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
border-bottom: 1px solid #eee;
}
.zj-suggest-dropdown-item:last-child {
border-bottom: none;
}
.zj-suggest-dropdown-item:hover {
background-color: #f9f9f9;
}
.zj-suggest-dropdown-item img {
width: 40px;
height: 40px;
object-fit: cover;
border-radius: 4px;
}
.zj-suggest-limit-message {
color: #d32f2f;
font-size: 14px;
margin-top: 8px;
}
.zj-suggest-selected-games {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}
.zj-suggest-game-item {
position: relative;
width: 120px;
text-align: center;
}
.zj-suggest-game-item img {
width: 100%;
aspect-ratio: 1 / 1;
height: auto;
object-fit: cover;
object-position: top;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.zj-suggest-game-item .zj-suggest-game-title {
font-size: 14px;
margin-top: 8px;
line-height: 1.2;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.zj-suggest-game-remove {
position: absolute;
top: -8px;
right: -8px;
background: #d32f2f;
color: white;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 14px;
font-weight: bold;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
border: 2px solid white;
}
.zj-suggest-game-remove:hover {
background: #b71c1c;
}
.zj-suggest-actions {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.zj-suggest-btn {
background-color: #f6b528;
color: white;
border: none;
padding: 12px 24px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}
.zj-suggest-btn:hover {
background-color: #df9e19;
}
.zj-suggest-filter-btn {
background-color: #f0f0f0;
color: #555;
border: 1px solid #ccc;
padding: 12px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.zj-suggest-filter-btn:hover {
background-color: #e0e0e0;
}
.zj-suggest-filter-btn.active {
background-color: #f6b528;
color: white;
border-color: #f6b528;
}
.zj-suggest-filters-box {
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
gap: 15px;
}
.zj-suggest-filter-item {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
}
.zj-filter-label {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
cursor: pointer;
user-select: none;
}
.zj-filter-number-wrapper {
display: flex;
align-items: center;
}
.zj-filter-number-wrapper .zj-filter-number-btn {
background: #ddd;
border: 1px solid #ccc;
padding: 5px 12px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
color: #333;
transition: background 0.2s;
}
.zj-filter-number-wrapper .zj-filter-number-btn:hover {
background: #ccc;
}
.zj-filter-number-wrapper .zj-filter-number-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.zj-filter-number-wrapper .zj-filter-number-btn.decrement {
border-radius: 4px 0 0 4px;
}
.zj-filter-number-wrapper .zj-filter-number-btn.increment {
border-radius: 0 4px 4px 0;
}
.zj-filter-number-wrapper .zj-filter-number-input {
width: 50px;
text-align: center;
border: 1px solid #ccc;
border-left: none;
border-right: none;
padding: 5px 0;
font-size: 16px;
box-sizing: border-box;
-moz-appearance: textfield;
}
.zj-filter-number-wrapper .zj-filter-number-input::-webkit-outer-spin-button,
.zj-filter-number-wrapper .zj-filter-number-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.zj-filter-number-wrapper .zj-filter-number-input:disabled {
background: #eee;
color: #999;
}
.zj-suggest-btn-secondary {
background-color: #666;
}
.zj-suggest-btn-secondary:hover {
background-color: #444;
}
.zj-suggest-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(246, 181, 40, 0.95);
z-index: 1000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 8px;
color: white;
font-size: 18px;
font-weight: bold;
text-align: center;
}
.zj-spinner {
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid white;
border-radius: 50%;
width: 40px;
height: 40px;
animation: zj-spin 1s linear infinite;
margin-bottom: 15px;
}
@keyframes zj-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.zj-suggest-results {
display: flex;
flex-direction: column;
gap: 20px;
}
.zj-result-card {
display: flex;
gap: 20px;
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.zj-result-card img {
max-width: 150px;
max-height: 150px;
width: auto;
height: auto;
display: block;
border-radius: 8px;
}
.zj-result-image-wrapper {
position: relative;
display: inline-block;
}
.zj-result-add-btn {
position: absolute;
bottom: 8px;
right: 8px;
background: #f6b528;
color: white;
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
font-size: 16px;
transition: transform 0.2s, background 0.2s;
user-select: none;
}
.zj-result-add-btn:hover {
background: #df9e19;
}
.zj-result-content {
flex: 1;
order: 2;
}
.zj-result-image-column {
order: 1;
}
.zj-result-youtube-column {
order: 3;
width: 266px !important;
}
.zj-youtube-wrapper {
position: relative;
display: flex;
justify-content: center;
align-items: center;
border-radius: 8px;
overflow: hidden;
width: 100%;
height: auto;
max-width: none;
max-height: 150px;
background: #000;
text-decoration: none;
aspect-ratio: 16 / 9;
}
.zj-youtube-wrapper img {
width: 100% !important;
height: 100% !important;
max-width: none !important;
max-height: none !important;
object-fit: cover !important;
opacity: 0.6;
transition: opacity 0.3s;
margin: 0 !important;
}
.zj-youtube-wrapper:hover img {
opacity: 0.4;
}
.zj-youtube-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
z-index: 2;
}
.zj-ro-flag {
width: 24px;
height: 16px;
display: flex;
position: absolute;
top: 8px;
right: 8px;
border-radius: 2px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
z-index: 3;
}
.zj-ro-flag div {
flex: 1;
}
.zj-ro-flag-blue {
background: #002B7F;
}
.zj-ro-flag-yellow {
background: #FCD116;
}
.zj-ro-flag-red {
background: #CE1126;
}
.zj-youtube-logo {
width: 48px;
height: 34px;
background-color: #ff0000;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: transform 0.2s;
}
.zj-youtube-wrapper:hover .zj-youtube-logo {
transform: scale(1.35);
}
.zj-youtube-logo::before {
content: '';
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent white;
margin-left: 4px;
}
.zj-result-title {
font-size: 20px;
font-weight: bold;
margin-top: 0;
margin-bottom: 5px;
display: inline-block;
cursor: pointer;
color: #000;
text-decoration: none;
}
.zj-result-title:hover {
color: #f6b528
}
.zj-result-stats {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin-bottom: 10px;
font-size: 14px;
color: #333;
}
.zj-result-stat-item {
display: flex;
align-items: center;
gap: 4px;
}
.zj-result-stat-item i {
color: #666;
}
.zj-result-mechanics {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-bottom: 10px;
max-height: 29px;
overflow: hidden;
cursor: pointer;
position: relative;
}
.zj-result-mechanics.zj-mechanics-full {
max-height: none;
}
.zj-mechanic-tag {
background: #da3b17;
color: white;
padding: 4px 8px;
border-radius: 12px;
font-size: 12px;
white-space: nowrap;
}
.zj-result-desc {
font-size: 14px;
line-height: 1.5;
color: #444;
text-align: left;
}
.zj-desc-truncated {
display: -webkit-box;
-webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden;
cursor: pointer;
}
.zj-desc-full {
display: block;
}
.zj-read-more {
color: #f6b528;
cursor: pointer;
font-weight: bold;
font-size: 14px;
margin-top: 5px;
display: inline-block;
}
.zj-read-more:hover {}
#zj-suggest-loading-text {
font-weight: 300;
padding: 0 10px;
}
@media (max-width: 600px) {
.zj-result-card {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.zj-result-image-column {
width: 100% !important;
justify-content: center !important;
order: 1;
}
.zj-result-youtube-column {
order: 2;
width: 100% !important;
justify-content: center !important;
}
.zj-result-content {
order: 3;
width: 100%;
text-align: center;
}
.zj-result-card.has-youtube .zj-result-image-column {
width: calc(50% - 7.5px) !important;
}
.zj-result-card.has-youtube .zj-result-youtube-column {
width: calc(50% - 7.5px) !important;
} .zj-result-card img {
height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
object-position: top center;
}
.zj-youtube-wrapper img {
transform: scale(1.35);
} .zj-result-card:not(.has-youtube) .zj-result-image-wrapper {
display: block;
margin: 0 auto;
width: auto;
}
.zj-result-card:not(.has-youtube) .zj-result-image-wrapper img {
max-width: 150px;
width: 100%;
} .zj-result-card.has-youtube .zj-result-image-wrapper {
display: block;
margin: 0 auto;
width: 100%;
}
.zj-result-card.has-youtube .zj-result-image-wrapper img {
max-width: none;
width: 100%;
}
.zj-youtube-wrapper {
max-width: none;
max-height: none;
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
}
.zj-result-desc {
text-align: left;
}
}