/* ------------------------------------
   Shared button styles
------------------------------------ */

.btn-primary,
.btn-secondary
{
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary
{
    background: #00c853;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.4);
}

.btn-secondary
{
    background: #f1f1f4;
    color: #222222;
}

.btn-primary:disabled,
.btn-secondary:disabled
{
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
}

.btn-xs
{
    font-size: 11px;
    padding: 4px 10px;
}

.btn-xxs
{
    font-size: 10px;
    padding: 2px 8px;
}

/* ------------------------------------
   Shared form layout
------------------------------------ */

.form-field-group
{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.form-field-group label
{
    font-size: 12px;
    font-weight: 600;
    color: #333333;
}

.form-field-group input,
.form-field-group select,
.form-field-group textarea
{
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid #cccccc;
}

.form-field-row
{
    display: flex;
    gap: 8px;
}

.form-field-row .form-field-group
{
    flex: 1 1 0;
}

/* ------------------------------------
   Shared meta text / hints
------------------------------------ */

.hint-text
{
    font-size: 11px;
    color: #777777;
    margin: 0;
}

.meta-label
{
    font-size: 11px;
    font-weight: 600;
    color: #555555;
    display: block;
}

.meta-value
{
    font-size: 12px;
}

/* ------------------------------------
   Shared pill chips
------------------------------------ */

.pill-chip
{
    padding: 2px 6px;
    border-radius: 999px;
    background: #f1f1f4;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
}

/* ------------------------------------
   Generic responsive behavior
------------------------------------ */

@media (max-width: 900px)
{
    .form-field-row
    {
        flex-direction: column;
    }
}
