.llrefdash-codebox {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 18px 0;
}
.llrefdash-codebox-pending {
    background: rgba(179,45,45,0.12);
    border: 1px solid #B32D2D;
}
.llrefdash-codebox-active {
    background: rgba(79,179,160,0.12);
    border: 1px solid #4FB3A0;
}
.llrefdash-code-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}
.llrefdash-codebox-pending .llrefdash-code-label {
    background: #B32D2D;
    color: #fff;
}
.llrefdash-codebox-active .llrefdash-code-label {
    background: #4FB3A0;
    color: #10222C;
}
.llrefdash-code-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFFFFF;
    flex-grow: 1;
}
.llrefdash-codebox button {
    background: #4FB3A0;
    color: #10222C;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
.llrefdash-codebox button:hover {
    background: #F4F8FA;
}
.llrefdash-stats-row {
    display: flex;
    gap: 14px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.llrefdash-stat-card {
    flex: 1;
    min-width: 130px;
    background: #142A38;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.llrefdash-stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #4FB3A0;
    margin-bottom: 4px;
}
.llrefdash-stat-label {
    font-size: 12px;
    color: #C9D9DE;
}
.llrefdash-resources {
    margin-top: 20px;
    border-top: 1px solid #2E4A5A;
    padding-top: 18px;
}
.llrefdash-resources h3 {
    color: #FFFFFF;
    font-size: 15px;
    margin-bottom: 12px;
}
.llrefdash-resource-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #142A38;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
    color: #C9D9DE;
    font-size: 13px;
}
.llrefdash-resource-row a {
    color: #4FB3A0;
    font-weight: 600;
    text-decoration: underline;
}
.llrefdash-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.llrefdash-resource-card {
    background: #142A38;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.llrefdash-resource-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 10px;
    background: #0C1B23;
}
.llrefdash-resource-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.llrefdash-resource-title {
    color: #C9D9DE;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
}
.llrefdash-resource-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.llrefdash-resource-actions button,
.llrefdash-resource-actions a {
    background: transparent;
    border: 1px solid #4FB3A0;
    color: #4FB3A0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.llrefdash-resource-actions button:hover,
.llrefdash-resource-actions a:hover {
    background: #4FB3A0;
    color: #10222C;
}
.ll-ref-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.ll-ref-preview-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}