/* Styles specific to the Mill Alignment Targets workflow.

   Reuses cnc-components tokens so colours stay in sync with the rest of the app. */



#target-form {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.target-form-row {

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.target-form-label {

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    color: var(--text-secondary);

    display: flex;

    align-items: center;

    gap: 6px;

}



.target-form-hint {

    font-size: 10px;

    text-transform: none;

    letter-spacing: 0;

    font-weight: 400;

    color: var(--text-dim);

}



.target-form-select,

.target-form-input {

    width: 100%;

}



.target-form-actions {

    display: flex;

    gap: 8px;

    margin-top: 4px;

}



.target-form-actions .btn-secondary,

.target-form-actions .btn-primary {

    flex: 1;

}



#target-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.target-row {

    background: linear-gradient(135deg, rgba(58, 45, 64, 0.55) 0%, rgba(36, 28, 45, 0.75) 100%);

    border: 1px solid var(--border-light);

    border-radius: var(--small-spacing);

    padding: 10px 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    min-height: var(--button-height);

}



.target-row-info {

    display: flex;

    flex-direction: column;

    gap: 2px;

    min-width: 0;

    flex: 1;

}



.target-row-title {

    font-size: 12px;

    font-weight: 700;

    color: var(--primary);

    text-transform: uppercase;

    letter-spacing: 0.05em;

}



.target-row-meta {

    font-size: 11px;

    color: var(--text-secondary);

    font-family: var(--font-mono);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.target-row-remove {

    flex-shrink: 0;

}

