/* Shared component styles used across all admin pages */

.input-field {
    display: block;
    width: 100%;
    border-radius: 0.625rem;
    border: 1.5px solid #e2e8f0;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    font-family: inherit;
    background: #f8faff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
    background: #fff;
}

.btn-primary {
    display: flex;
    justify-content: center;
    width: 100%;
    border-radius: 9999px;
    background: linear-gradient(105deg, #6366f1, #8b5cf6);
    padding: 0.78rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(99,102,241,.35);
    transition: transform 0.18s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(99,102,241,.42);
}
.btn-primary:active { transform: scale(.98); }

.btn-danger {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    background: #ef4444;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-danger:hover { background: #dc2626; }
.btn-danger:active { transform: scale(.98); }

.btn-danger-sm {
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    background: transparent;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    color: #ef4444;
    border: 1px solid #fca5a5;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.btn-danger-sm:hover { background: #fee2e2; }
