
/* =========================================================
   ReparaJá - RELEASE CANDIDATE 1
   ========================================================= */

.rj-password-field {
    position: relative;
}

.rj-password-field input {
    padding-right: 48px !important;
}

.rj-password-toggle {
    position: absolute;
    right: 8px;
    bottom: 7px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

.rj-password-toggle:hover {
    background: #f3f4f6;
}

.rj-identity-reminder {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rj-identity-reminder div {
    display: grid;
    gap: 2px;
}

.rj-identity-reminder strong {
    color: #1e3a8a;
}

.rj-identity-reminder span {
    color: #475569;
    font-size: 12px;
}

.rj-identity-reminder button {
    border: 0;
    border-radius: 9px;
    padding: 9px 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.rj-license-settings-card {
    grid-column: 1 / -1;
}

.rj-license-settings-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}

.rj-release-stat {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #f8fafc;
    display: grid;
    gap: 5px;
}

.rj-release-stat.full {
    grid-column: 1 / -1;
}

.rj-release-stat span:first-child {
    color: #64748b;
    font-size: 11px;
}

.rj-release-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.rj-release-pill.ok {
    background: #ecfdf5;
    color: #047857;
}

.rj-release-pill.trial {
    background: #eff6ff;
    color: #1d4ed8;
}

.rj-release-pill.warning {
    background: #fff7ed;
    color: #c2410c;
}

.rj-release-pill.danger {
    background: #fef2f2;
    color: #b91c1c;
}

.rj-mono {
    font-family: Consolas, "Courier New", monospace;
    word-break: break-all;
}

.rj-redeem-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.rj-redeem-box p {
    color: #64748b;
    font-size: 12px;
    margin: 3px 0 10px;
}

.rj-redeem-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.rj-redeem-row input {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
}

.rj-locked-activation {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}

.rj-locked-activation p {
    margin: 3px 0 9px;
    font-size: 12px;
    color: #6b7280;
}

.rj-locked-activation input {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    margin-bottom: 9px;
}

.rj-release-page {
    display: none;
}

.rj-release-page.active {
    display: block;
}

.rj-release-loading,
.rj-release-empty {
    padding: 28px 18px;
    text-align: center;
    color: #64748b;
}

.rj-vendor-menu {
    border: 1px solid rgba(255,255,255,.06);
}

.rj-vendor-stats {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.rj-vendor-stat {
    padding: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,.03);
}

.rj-vendor-stat span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 5px;
}

.rj-vendor-stat strong {
    font-size: 21px;
}

.rj-vendor-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,.03);
}

.rj-vendor-card h3 {
    margin: 0 0 6px;
}

.rj-vendor-card p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.rj-vendor-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.rj-vendor-table {
    display: grid;
    gap: 8px;
}

.rj-vendor-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr .85fr 2fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
}

.rj-vendor-row.head {
    border: 0;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.rj-vendor-main {
    display: grid;
    gap: 4px;
}

.rj-vendor-main span {
    color: #64748b;
    font-size: 11px;
}

.rj-vendor-plan {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.rj-vendor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rj-small-btn.danger {
    color: #b91c1c;
    border-color: #fecaca;
}

.rj-code-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.rj-code-row:last-child {
    border-bottom: 0;
}

.rj-code-row > div {
    display: grid;
    gap: 3px;
}

.rj-code-row span {
    color: #64748b;
    font-size: 11px;
}

.rj-payment-note {
    border-style: dashed;
}

@media (max-width: 1100px) {
    .rj-vendor-stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .rj-vendor-row,
    .rj-vendor-row.head {
        grid-template-columns: 1fr 1fr;
    }

    .rj-vendor-row.head {
        display: none;
    }

    .rj-vendor-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .rj-license-settings-grid,
    .rj-vendor-stats {
        grid-template-columns: 1fr;
    }

    .rj-redeem-row,
    .rj-vendor-row {
        grid-template-columns: 1fr;
    }

    .rj-vendor-actions {
        grid-column: auto;
    }

    .rj-code-row {
        grid-template-columns: 1fr;
    }

    .rj-identity-reminder {
        align-items: flex-start;
        flex-direction: column;
    }
}
