.wpcqr-settings-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.wpcqr-settings-form {
    flex: 1 1 600px;
}

.wpcqr-settings-preview {
    flex: 0 0 400px;
}

.wpcqr-preview-sticky {
    position: sticky;
    top: 50px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    padding: 20px;
    box-sizing: border-box;
}

.wpcqr-preview-sticky h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.wpcqr-preview-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f1;
    padding: 30px;
    border-radius: 4px;
    min-height: 350px;
}

.wpcqr-preview-inner {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.wpcqr-preview-text {
    word-wrap: break-word;
    line-height: 1.4;
}

.wpcqr-top-text {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.wpcqr-bottom-text {
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    color: #000;
}

.wpcqr-canvas {
    display: flex;
    justify-content: center;
    position: relative;
}

.wpcqr-download-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.wpcqr-canvas:hover .wpcqr-download-btn {
    opacity: 1;
    visibility: visible;
}

.wpcqr-download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* WPC Logs Page */
.wpc-logs-wrap {
    max-width: 800px;
}

.wpc-logs-filter {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.wpc-timeline {
    position: relative;
    padding: 20px 0;
    margin-left: 20px;
}

.wpc-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: #ccd0d4;
}

.wpc-timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 35px;
}

.wpc-timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2271b1;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2271b1;
    z-index: 1;
}

.wpc-timeline-content {
    background: #fff;
    padding: 15px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.wpc-timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.wpc-timeline-time {
    font-size: 12px;
    color: #646970;
    font-style: italic;
}

.wpc-timeline-user,
.wpc-timeline-action,
.wpc-timeline-message {
    margin-bottom: 5px;
}

.wpc-timeline-user {
    font-size: 12px;
    color: #2c3338;
}

.wpc-timeline-user a {
    text-decoration: none;
    color: #2271b1;
    font-weight: 500;
}

.wpc-timeline-user a:hover {
    color: #135e96;
}

.wpc-timeline-message {
    padding: 8px 12px;
    background: #f6f7f7;
    border-left: 3px solid #ccd0d4;
    font-size: 13px;
    color: #2c3338;
}

.wpc-timeline-item-installed .wpc-timeline-marker,
.wpc-timeline-item-activated .wpc-timeline-marker {
    background: #7fb17f;
    box-shadow: 0 0 0 2px #7fb17f;
}

.wpc-timeline-item-installed .wpc-timeline-action,
.wpc-timeline-item-activated .wpc-timeline-action {
    color: #7fb17f;
}

.wpc-timeline-item-deactivated .wpc-timeline-marker {
    background: #d18582;
    box-shadow: 0 0 0 2px #d18582;
}

.wpc-timeline-item-deactivated .wpc-timeline-action {
    color: #d18582;
}