/* WeTrack Admin Styles */

.stat-big {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0.2rem 0;
    line-height: 1.2;
}

.flash-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #43a047;
}

.flash-error {
    background: #ffebee;
    color: #c62828;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #e53935;
}

/* Copy button */
.copy-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.copy-wrap input[type="text"] {
    flex: 1;
    margin-bottom: 0;
}

.copy-btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.copy-btn.copied {
    background: #43a047;
    border-color: #43a047;
}

/* Destination rows */
.dest-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.dest-row input[name="dest_url[]"] {
    flex: 3;
    margin-bottom: 0;
}

.dest-row input[name="dest_weight[]"] {
    flex: 1;
    max-width: 100px;
    margin-bottom: 0;
}

.dest-row button {
    margin-bottom: 0;
    padding: 0.5rem 0.75rem;
}

/* Status badge */
.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-inactive {
    background: #ffebee;
    color: #c62828;
}

/* Table tweaks */
table {
    font-size: 0.9rem;
}

th {
    white-space: nowrap;
}

/* Filter bar */
.filter-bar {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-bar label {
    margin-bottom: 0;
}

.filter-bar select,
.filter-bar input {
    margin-bottom: 0;
}

/* Embed code block */
.embed-code {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}
