.gg-codes-wrapper {
margin: 24px 0;
}
.gg-title {
font-size: 22px;
font-weight: 700;
margin-bottom: 8px;
}
.gg-update-note {
margin-bottom: 16px;
font-size: 14px;
color: #4b5563;
border-left: 3px solid #3b82f6;
padding-left: 10px;
} .gg-codes-list {
display: flex;
flex-direction: column;
gap: 16px;
} .gg-code-card {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 14px;
padding: 16px;
box-shadow: 0 6px 16px rgba(0,0,0,0.06);
display: flex;
flex-direction: column;
gap: 12px;
} .gg-code-left {
display: flex;
flex-direction: column;
gap: 8px;
} .gg-new-label {
display: inline-block;
background: #ffedd5;
color: #c2410c;
border: 1px solid #fdba74;
padding: 3px 8px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
line-height: 1;
max-width: max-content;
margin-bottom: 8px; } .gg-code-top-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
}
.gg-code-left-side {
display: flex;
flex-direction: column;
gap: 6px;
}
.gg-code-line {
display: flex;
align-items: center;
gap: 6px;
} .gg-code-value {
border-radius: 6px;
border: 1px solid #3b82f6;
background: #ffffff;
padding: 4px 10px;
font-size: 14px;
font-weight: 700;
color: #111827 !important;
cursor: pointer;
display: inline-flex;
align-items: center;
white-space: nowrap;
max-width: 240px;
overflow: hidden;
text-overflow: ellipsis;
transition: 0.15s;
}
.gg-code-value:hover {
border-color: #2563eb;
background: #f0f7ff;
} .gg-copy-btn {
border-radius: 6px;
border: 1px solid #3b82f6;
background: #e0f2fe;
padding: 4px 12px;
font-size: 12px;
font-weight: 600;
color: #111827 !important;
cursor: pointer;
display: inline-flex;
align-items: center;
white-space: nowrap;
transition: 0.15s;
}
.gg-copy-btn:hover {
background: #dbeafe;
} .gg-code-right {
display: flex;
flex-direction: column;
gap: 6px;
}
.gg-status-btn {
border-radius: 6px;
border: 1px solid transparent;
padding: 4px 10px;
font-size: 11px;
font-weight: 700;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
white-space: nowrap;
cursor: pointer;
transition: 0.15s;
color: #111827 !important;
}
.gg-status-btn .icon {
font-size: 14px;
} .gg-status-working {
background: #dcfce7;
border-color: #86efac;
color: #166534 !important;
}
.gg-status-working:hover {
background: #bbf7d0;
} .gg-status-problem {
background: #fee2e2;
border-color: #fca5a5;
color: #991b1b !important;
}
.gg-status-problem:hover {
background: #fecaca;
} .gg-dates {
font-size: 14px;
color: #6b7280;
display: flex;
gap: 20px;
flex-wrap: wrap;
margin-top: 4px;
}
.gg-date-item .label {
font-weight: 700;
margin-right: 4px;
} .gg-reward-block {
display: inline-block;
max-width: 100%;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 8px 12px;
font-size: 14px;
color: #1f2937;
white-space: normal;
word-break: break-word;
margin-top: 10px; } .gg-toast {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: #ffffff;
color: #111827;
padding: 10px 20px;
border-radius: 14px;
font-size: 14px;
font-weight: 600;
box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
opacity: 0;
pointer-events: none;
transition: opacity .15s;
z-index: 9999;
border: 1px solid #e5e7eb;
}
.gg-toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
} .gg-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(15,23,42,0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9998;
}
.gg-modal {
background: #fff;
border-radius: 14px;
padding: 18px 20px;
width: 100%;
max-width: 430px;
box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.gg-modal-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 6px;
}
.gg-modal-text {
font-size: 14px;
color: #4b5563;
margin-bottom: 10px;
}
.gg-modal-textarea {
width: 100%;
min-height: 90px;
border-radius: 8px;
border: 1px solid #d1d5db;
padding: 8px 10px;
font-size: 14px;
} .gg-modal-footer {
margin-top: 12px;
display: flex;
justify-content: flex-end;
gap: 8px;
} .gg-btn {
border-radius: 8px;
padding: 6px 12px;
font-size: 13px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid transparent;
} .gg-btn-red {
background: #f97373;
color: #ffffff;
}
.gg-btn-red:hover {
background: #ef4444;
} .gg-btn-green {
background: #22c55e;
color: #ffffff;
}
.gg-btn-green:hover {
background: #16a34a;
} .gg-code-value:focus,
.gg-copy-btn:focus,
.gg-status-btn:focus {
outline: none !important;
box-shadow: none !important;
} @media (max-width: 1024px) {
.gg-code-card {
padding: 20px 16px !important;
gap: 20px !important;
}
.gg-code-left {
display: flex;
flex-direction: column;
gap: 12px;
} .gg-code-top-row,
.gg-code-left-side,
.gg-code-right,
.gg-code-line {
display: contents;
} .gg-new-label      { order: 1; }
.gg-code-value     { order: 2; align-self: flex-start; max-width: 100%; }
.gg-dates          { order: 3; width: 100%; }
.gg-copy-btn       { order: 4; align-self: flex-start; }
.gg-reward-block   { order: 5; width: 100%; }
.gg-status-working { order: 6; width: 100%; }
.gg-status-problem { order: 7; width: 100%; }
.gg-status-btn {
margin-top: 6px;
}
}  .gg-code-card .gg-code-value {
background: #ffffff !important;
color: #111827 !important;
}
.gg-code-card .gg-copy-btn {
background: #e0f2fe !important;
color: #111827 !important;
}
.gg-code-card .gg-status-working {
background: #dcfce7 !important;
color: #166534 !important;
}
.gg-code-card .gg-status-problem {
background: #fee2e2 !important;
color: #991b1b !important;
} .gg-code-card .gg-code-value:hover,
.gg-code-card .gg-code-value:active,
.gg-code-card .gg-code-value:focus {
background: #f0f7ff !important;
color: #111827 !important;
border-color: #2563eb !important;
}
.gg-code-card .gg-copy-btn:hover,
.gg-code-card .gg-copy-btn:active,
.gg-code-card .gg-copy-btn:focus {
background: #dbeafe !important;
color: #111827 !important;
}
.gg-code-card .gg-status-working:hover,
.gg-code-card .gg-status-working:active,
.gg-code-card .gg-status-working:focus {
background: #bbf7d0 !important;
color: #166534 !important;
}
.gg-code-card .gg-status-problem:hover,
.gg-code-card .gg-status-problem:active,
.gg-code-card .gg-status-problem:focus {
background: #fecaca !important;
color: #991b1b !important;
} .gcs-info-box {
margin: 25px 0 10px;
padding: 18px 20px;
background: #ffffff;
border: 1.5px solid #e0e6ef;
border-radius: 14px;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
text-align: center;
}
.gcs-info-box p {
margin: 0 0 12px;
font-size: 14px;
color: #3c4858;
line-height: 1.45;
} .gcs-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px 16px;
background: #fff;
border: 1.5px solid #1a73e8;
color: #1a73e8;
border-radius: 10px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: background .15s ease;
}
.gcs-btn:hover {
background: #f0f6ff;
} .gcs-modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.55);
z-index: 99999;
justify-content: center;
align-items: center;
}
.gcs-modal {
position: relative;
width: 380px;
background: #fff;
border-radius: 16px;
padding: 22px 26px 18px;
box-shadow: 0 10px 40px rgba(0,0,0,0.18);
} .gcs-close {
position: absolute;
top: 14px;
right: 18px;
font-size: 22px;
cursor: pointer;
color: #333;
} .gcs-modal h3 {
font-size: 18px;
margin: 0 0 4px;
font-weight: 700;
} .gcs-modal label {
display: block;
margin: 14px 0 5px;
font-size: 13px;
font-weight: 600;
color: #333;
} .gcs-input,
.gcs-textarea {
width: 100%;
padding: 10px 12px;
border-radius: 8px;
font-size: 14px;
border: 1px solid #d7d7d7;
background: #fafafa;
}
.gcs-textarea {
min-height: 80px;
} .gcs-modal-footer {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 18px;
}
.gcs-btn-cancel,
.gcs-btn-submit {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 120px;
height: 40px;
padding: 0 16px;
border-radius: 8px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
} .gcs-btn-cancel {
background: #ff6e6e;
color: #fff;
}
.gcs-btn-cancel:hover {
background: #ff5050;
} .gcs-btn-submit {
background: #27c06f;
color: #fff;
}
.gcs-btn-submit:hover {
background: #1fa75e;
} .gcs-center-notice {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #fff;
padding: 14px 20px;
border-radius: 14px;
box-shadow: 0 6px 22px rgba(0,0,0,0.18);
font-size: 15px;
font-weight: 600;
color: #2c2c2c;
opacity: 0;
transition: opacity .12s ease;
z-index: 1000000;
}
.gcs-center-notice.visible {
opacity: 1;
} .gcs-icon {
margin-right: 8px;
vertical-align: middle;
}
.ggcodes-light-check {
background: #ffffff;
border: 1px solid #dbe9ff;
border-radius: 14px;
padding: 16px 18px;
margin: 20px 0;
display: flex;
align-items: center;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.ggc-lc-left {
display: flex;
align-items: center;
gap: 14px;
}
.ggc-lc-icon {
width: 42px;
height: 42px;
border-radius: 50%;
background: #e7f1ff;
border: 1px solid #cfe3ff;
display: flex;
align-items: center;
justify-content: center;
color: #2d7df4;
}
.ggc-lc-title {
font-size: 16px;
font-weight: 600;
color: #2a2a2a;
margin-bottom: 2px;
}
.ggc-lc-sub {
font-size: 15px;
color: #444;
}
.ggc-lc-new {
margin-top: 4px;
font-size: 15px;
font-weight: 600;
color: #1e63e9; 
}
.tg-subscribe-box {
background: #f8fbff;
border: 1px solid #dbe9ff;
border-radius: 14px;
padding: 18px 20px;
margin: 25px 0;
display: flex;
align-items: center;
gap: 16px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tg-subscribe-icon svg {
width: 34px;
height: 34px;
}
.tg-subscribe-title {
font-size: 17px;
font-weight: 600;
color: #1e2a3a;
margin-bottom: 4px;
}
.tg-subscribe-desc {
font-size: 14px;
color: #46556b;
margin-bottom: 10px;
line-height: 1.45;
}
.tg-subscribe-btn {
display: inline-block;
background: #229ED9;
color: #fff !important;
padding: 7px 16px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
text-decoration: none !important;
}
.tg-subscribe-btn:hover {
background: #1d8ac1;
color: #fff !important;
}
a.tg-subscribe-btn,
a.tg-subscribe-btn:hover,
a.tg-subscribe-btn:focus,
.tg-subscribe-btn,
.tg-subscribe-btn:hover,
.tg-subscribe-btn:focus {
color: #ffffff !important;
text-decoration: none !important;
}
.gcodes-expired-box {
background: #fff6f6;
border: 1px solid #ffd4d4;
border-radius: 12px;
padding: 16px 18px;
margin: 20px 0;
font-size: 16px;
line-height: 1.45;
color: #a33a3a;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
} .gcodes-subscribe-box {
margin: 0 0 10px; 
width: 100%;
} .gcodes-subscribe-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
padding: 12px 20px;
background: #229ED9; color: #fff;
font-size: 17px;
font-weight: 600;
text-decoration: none;
border-radius: 16px;
box-shadow: 0 3px 10px rgba(34,158,217,0.25);
transition: 0.25s ease;
} .gcodes-subscribe-btn:hover {
background: #1b8dc2;
box-shadow: 0 4px 12px rgba(34,158,217,0.35);
transform: translateY(-1px);
} .gcodes-subscribe-btn .tg-icon {
display: flex;
align-items: center;
} .gcodes-subscribe-btn,
.gcodes-subscribe-btn *,
.gcodes-subscribe-btn:visited,
.gcodes-subscribe-btn:hover,
.gcodes-subscribe-btn:active {
color: #ffffff !important;
text-decoration: none !important;
}